curl-users
Re: curl -z option fails with ftp
Date: Tue, 4 Oct 2005 22:43:22 +0200 (CEST)
On Tue, 4 Oct 2005, Darryl House wrote:
> For example, this command will always fetch a file, even though the
> timestamp on the local file is identical to that on the server:
>
> curl -R -o destfile -z destfile ftp_url
>
> root_at_wxframe:~# curl -v -R -o
> sat_atlhurr_fullview_640x480.jpg -z
> sat_atlhurr_fullview_640x480.jpg
> ftp://<yoink>:<yoink>@imageserv.intelliweather.net/broadcast/test/sat_atlhurr_fullview_640x480.jpg
> Warning: Illegal date format for -z/--timecond (and
> not a file name).
> Warning: Disabling time condition. See curl_getdate(3)
> for valid date syntax.
Hold it here. Was this really what you meant? It seems you had no local file
using that name when you start curl, so what is it really gonna compare with?
This specifically says it disables time conditions...
Can you show us a trace from when this fails and there _is_ a local file
present?
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2005-10-04