cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Option to set local file to time of remote file?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 25 Apr 2003 15:43:20 +0200 (CEST)

On Thu, 24 Apr 2003, Philip Newton wrote:

> Is it possible to have curl adjust the timestamp of the file it writes to
> be the timestamp of the remote file? For example, using MDTM over FTP and
> the Last-Modified: header over HTTP?
>
> I looked through the manpage but found no such option. (There's -z but that
> apparently only does checking, no modification.)

You mean the -R/--remote-time ? ;-)

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-04-25