curl-users
Re: Option to set local file to time of remote file?
From: Philip Newton <pnewton_at_gmx.de>
Date: Fri, 25 Apr 2003 16:57:11 +0200
Date: Fri, 25 Apr 2003 16:57:11 +0200
On 25 Apr 2003 at 15:43, Daniel Stenberg wrote:
> 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 ? ;-)
Um, right, that one. Thanks for pointing it out to me!
Cheers,
Philip
-- Philip Newton <pnewton_at_gmx.de> ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sfReceived on 2003-04-25