cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: Using list {} does not work with -z to download only newer files

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 21 Apr 2006 12:32:10 +0200 (CEST)

On Fri, 21 Apr 2006, Gustav Axelsson wrote:

> if I use a list with only one item (the date 2006-04-20) the file is
> always downloaded despite the fact that the server does not have a more
> recent file.

> -z ~/Library/Xmltv/svt1.svt.se_#1.xml

Uh, indeed. We don't support the #-parameters for the -z option so curl will
get the existing date from the file using that _literal_ name and mostly
likely there is no such file. If the file doesn't exist, it switches off the
conditional fetch again...

This is still the same in the latest version! :-(

It is certainly something we should fix. Anyone feels like grabbing the issue?

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-04-21

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET