Hi, FiveWinners.
in the example of the previous post, Horizon, tell us how to get the file size over http.
this is the code:
cRequest := "HEAD "+oUrl:BuildAddress() + " HTTP/1.1" + CRLF + ;
"Host: "+oUrl:cServer+ CRLF + ;
"User-Agent: HTTP-Get-File-Size" + CRLF + ;
"Connection:close" + CRLF + ;
CRLF
Might indicate to us how to get the date and time of a file over http?
Regards
Download internet file without interference
Re: Download internet file without interference
Visite Chiapas, el paraiso de México.
Re: Download internet file without interference
Hi,
I did not tried but I think You can search "Last-Modified:" instead of "Content-Length:" and extract the date and time.
It should be return like this format:
Last-Modified: Wed, 15 Nov 1995 04:58:08 GMT
Good Luck.
I did not tried but I think You can search "Last-Modified:" instead of "Content-Length:" and extract the date and time.
It should be return like this format:
Last-Modified: Wed, 15 Nov 1995 04:58:08 GMT
Good Luck.
Regards,
Hakan ONEMLI
Harbour & VS 2019 & FWH 20.12
Hakan ONEMLI
Harbour & VS 2019 & FWH 20.12