Re: IdHttp.getfiledate ?

Giganews Newsgroups
Subject: Re: IdHttp.getfiledate ?
Posted by:  serdarsokol (olguserd…@hotmail.com)
Date: Sun, 16 Sep 2007

> Hi,
>
> i need filedate on "www.aaaa.com/sample.zip".
> how can i get filedate on http server?
>
> i use;
> idhttp1.Request.Date
> but its give me 30.12.1899 :)
>
> Thank you,

i solved this problem this source:
idhttp1.head('www.aaaa.com/sample.zip');
showmessage(datetimetostr(idhttp1.Response.LastModified));

regards :))

Replies

None

In response to

IdHttp.getfiledate ? posted by serdarsokol on Sun, 16 Sep 2007