cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: "No such file or directory" error and local empty file.

From: Alexander Krasnostavsky <ALEXANDERKR_at_Amdocs.com>
Date: Tue, 4 May 2004 12:09:56 +0300

Yes, I use the library.

-----Original Message-----
From: curl-users-bounces_at_cool.haxx.se
[mailto:curl-users-bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
Sent: Tuesday, May 04, 2004 10:52 AM
To: curl tool talk
Subject: Re: "No such file or directory" error and local empty file.

On Mon, 3 May 2004, Alexander Krasnostavsky wrote:

> I am using curl-7.11.2 for FTP on UNIX.
>
> I noticed that when "No such file or directory" error occurred while
getting
> a file from remote machine to local, on the local machine created zero
size
> file.

Can you show us the exact command line/output that caused this? With -v?

> This cause an ambiguity because it is the same case as an existing
file of
> zero size was copied.

I agree.

> I do not use CURLOPT_WRITEFUNCTION option and I think that it will be
better
> if the file will be not created on the local machine.

So you used the library and not the command line tool?

--
     Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
      Dedicated custom curl help for hire: http://haxx.se/curl.html
The information contained in this message is proprietary of Amdocs,
protected from disclosure, and may be privileged.
The information is intended to be conveyed only to the designated recipient(s)
of the message. If the reader of this message is not the intended recipient,
you are hereby notified that any dissemination, use, distribution or copying of
this communication is strictly prohibited and may be unlawful.
If you have received this communication in error, please notify us immediately
by replying to the message and deleting it from your computer.
Thank you.
Received on 2004-05-04