RE: reg:libucrl downloading zero byt file in FTP ( Is it a bug )
Date: Tue, 24 Jun 2008 14:58:40 +0530
I am using linux platform .
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
[mailto:curl-library-bounces_at_cool.haxx.se] 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, nagarajan.sreenivasan_at_wipro.com 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?
-- / daniel.haxx.se 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. www.wipro.comReceived on 2008-06-24