cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: zero byte file download

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Wed, 6 Jul 2005 23:23:35 +0200 (CEST)

On Wed, 6 Jul 2005, Wayne Dawson wrote:

> I download a series of files over ssl daily. Occaisionally a file on the
> remote site will exist but be zero bytes. When this happens, it seems curl
> attempts to download it, but no zero byte image of the file is created
> locally.
>
> I can see where this may be "normal" behaviour, but can someone verify this
> is the case?

Right, that's what curl does. It creates the file once the first actual
contents arrive and with zero byte files there is no contents...

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-07-06