cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: reg CURLOPT_FILETIME

From: Daniel Moghaddass <Daniel.Moghaddass_at_web.de>
Date: Wed, 03 Jan 2007 16:47:46 +0100

Hi,

i think you have to perform the tasks the following way (but i never tried alternatives):
1.) enable the appropriate option for getting the filetime
2.) perform your request
3.) examine the last requests filetime before requesting another uri

which might look like the following handwritten snippet:
...

long filetime;

curl_easy_setopt(curl_handle, CURLOPT_FILETIME, 1l);

curl_easy_perform(...);

curl_easy_getinfo(handle, CURLINFO_FILETIME, &filetime);

...
Received on 2007-01-03