cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: reg CURLOPT_FILETIME

From: <man_at_tfhs.net>
Date: Wed, 3 Jan 2007 15:30:03 -0000

from the manual:

"Pass a pointer to a long"

try:

curl_easy_getinfo(curl,CURLINFO_FILETIME,&filetime);

allan

On Wed, Jan 3, 2007, kuriakose <kuriakose_at_huawei.com> said:

>
>
> Hi,
>
> I am trying to use CURLOPT_FILETIME to get the modification time of file in
> the server.
>
> long filetime=1;
>
>
>
> curl_easy_getinfo(curl,CURLINFO_FILETIME,filetime);
>
>
>
> After easy perform ,I am expecting the filetime variable should contain the
> modification time of the file.
>
> But it is not .
>
> Is there any problem with the way I am using.
>
>
>
> Is it applicable to both http and ftp
>
>
>
> Plz help.
>
>
>
>
>
>
>
>
> Regards
>
> Kuriakose
>
>
>
>
>
>

-- 
m. allan noah
IT Director, TfHS.net
ph# (804) 355-5489
tf# (866) 724-9722
fx# (804) 355-0477
Received on 2007-01-03