curl-and-python

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