cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: FTP getting empty file.

From: Alexander Krasnostavsky <ALEXANDERKR_at_Amdocs.com>
Date: Mon, 23 Aug 2004 16:24:16 +0300

You already mentioned about the change in CHANGES and RELEASE-NOTES.
Where else you want me to add the change?

Attached is a test I tried to write. I have no idea if it is correct.
Whether the <data> is the file data or connection data? How I check that
an empty file indeed was transferred?

-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
Sent: Sunday, August 22, 2004 22:04
To: libcurl development
Subject: RE: FTP getting empty file.

On Sun, 22 Aug 2004, Alexander Krasnostavsky wrote:

> 1. What kind of note do you mean to add? Whether transferring empty
file is
> an obvious? It is just a bug that was fixed.

Bug or not, previously libcurl never called the write callback with zero
bytes
data. Now it does. I think that is reason enough.

> 2. Could you provide me more information of how adding test case.

There's no particular docs describing it. I suggest:

  o Check out a few existing tests (tests/data/test*) (the ones with
numbers
    at 500 or more tests libcurl stuff without the curl tool, all the
others
    use the curl tool to test things)
  o Read tests/FILEFORMAT
  o Create a new test by copying an existing and edit that.
  o cd tests && ./runtests.pl [your new test case number]

If there's anything that looks or acts weird, ask!

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

  • application/octet-stream attachment: test180
Received on 2004-08-23