cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-and-python mailing list Archives

how does --remote-time work?

From: Wendell Turner <wendell_at_enflight.com>
Date: Thu, 11 Feb 2010 16:28:24 +0000

Is it possible to get the effect of --remote-time in pycurl?
It seems that the timestamp of a file is determined by the
open statement, e.g.:
    c.fp = open(filename, "wb")
instead of the timestamp of the remote file. How is the
timestamp of the local file set to that of the remote file?

Also, if downloading directly to memory using cStringIO, is
there a way to determine the timestamp of the remote file?

Thanks,

Wendell

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-python
Received on 2010-02-11

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET