cURL / Mailing Lists / curl-users / Single Mail

curl-users

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

From: Alexander Krasnostavsky <ALEXANDERKR_at_Amdocs.com>
Date: Mon, 3 May 2004 16:36:01 +0300

Hi,


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.

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

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.

What do you think?


Alexander


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