cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: FTP-download of zero size files

From: Marco D'Ettorre <marco.dettorre_at_gruppopa.it>
Date: Wed, 21 Dec 2011 17:30:06 +0100

Return code could help you. If the file does not exist then RC=78, else RC=0.

M.

>----- Original Message -----
>From: zephred_at_gmail.com
>To: curl-users_at_cool.haxx.se
>Data: Wed, 21 Dec 2011 15:42:09 +0100
>Subject: FTP-download of zero size files

>Hello,
>
>The curl version I am using (7.21.4) does not FTP-download empty (size=0) files.
>I've seen this problem brought out on the mailing list in messages back in 2003.
>As it is still there, is it to be considered as a feature ?
>I find it quite unfortunate, the presence of file being a non
>negligible piece of information !
>
>Cheers,
>Fred.
>-------------------------------------------------------------------
>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
>

Marco D'Ettorre

Gruppo Partners Associates
Tel. Milano +39 02 67380435 - Udine +39 0432 689815 - Roma +39 06 54832300
Fax Milano +39 02 67386214 - Udine +39 0432 570120 - Roma +39 06 91659273
Cell. +39 348 1510674
Email: Marco.Dettorre_at_GruppoPA.it
Sito: www.GruppoPA.it

-------------------------------------------------------------------
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