curl-users
Re: Does the -Z option work when using FTP with cURL?
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 21 Sep 2006 14:54:48 -0700
Date: Thu, 21 Sep 2006 14:54:48 -0700
On Thu, Sep 21, 2006 at 03:40:12PM -0600, Mike Maynard wrote:
> I have been using cURL for 2 years to automatically download a
> weekly file from an HTTPS server. I use the -Z option and cURL detects the new
> file and downloads the file. This has been working very well.
>
> 2 weeks ago the file was moved to an FTP server. According to the man pages,
> the -Z option only works with HTTP.
It looks like the code is actually there to support -z for FTP (although the
command used to obtain the file time may not be supported by all server).
Have you tried it? The documentation probably needs to be updated.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2006-09-22