cURL / Mailing Lists / curl-library / Single Mail


RE: reg:libucrl downloading zero byt file in FTP

From: <>
Date: Tue, 24 Jun 2008 09:34:59 +0530

Hi all

Yes the write callback is not getting called when the size of the file
to be downloaded is zero bytes .

Is this an expected behaviour or is there any mechanism to overcome it


-----Original Message-----
[] On Behalf Of Daniel Stenberg
Sent: Tuesday, June 24, 2008 3:11 AM
To: libcurl development
Subject: Re: reg:libucrl downloading zero byt file in FTP

On Mon, 23 Jun 2008, wrote:

> I am not able to sownload a zero byte file in libcurl. It is not
> creating the file

libcurl never "creates" files it downloads.

> though it returns the result code zero.

Are you saying you don't get the write callback called?

Please do not print this email unless it is absolutely necessary. 
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
Received on 2008-06-24