curl-and-python

Re: how does --remote-time work?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 11 Feb 2010 19:09:41 +0100 (CET)

On Thu, 11 Feb 2010, Wendell Turner wrote:

> Is it possible to get the effect of --remote-time in pycurl?

Yes:

First: Set CURLOPT_FILETIME to 1
Then: after a successful transfer, use CURLINFO_FILETIME to extract the time

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