cURL / Mailing Lists / curl-users / Single Mail

curl-users

Option to set local file to time of remote file?

From: Philip Newton <pnewton_at_gmx.de>
Date: Thu, 24 Apr 2003 17:13:41 +0200

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.)

Cheers,
Philip

-- 
Philip Newton <pnewton_at_gmx.de>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-04-24