cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: FTP-download of zero size files

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 21 Dec 2011 19:46:29 +0100 (CET)

On Wed, 21 Dec 2011, Fred wrote:

> I really do not understand the purpose of that strange curl behavior. It
> looks like it supposes that empty files are useless, which is definitely not
> the case (plenty of services rely on the simple existence of some files;
> exemple: /etc/cron.deny for vixie-cron).

It got implemented like this originally back in the 90s because I never really
considered "transferring" empty files to be important.

These days I consider it a minor bug:

https://sourceforge.net/tracker/?func=detail&aid=3438362&group_id=976&atid=100976

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-12-21