cURL / Mailing Lists / curl-library / Single Mail

curl-library

curl-7.11.1 questions.

From: Maya Youlzari <MAYAY_at_Amdocs.com>
Date: Tue, 20 Apr 2004 18:11:17 +0300

 

Hi,

 

We are working with curl-7.11.1 and have 2 questions:

1. In case of CURLE_PARTIAL_FILE error the QUIT command (before
disconnecting) always cause a function Curl_GetFTPResponse() to stuck
until time out occurred. It was not happened in version 7.11.0, because
this functionality did not exist. Besides that, the QUIT command does
not executed in usual disconnect but only when some error occurred.
Should the QUIT command be executed on every disconnection? Why,
actually, the QUIT command does not get quick response from the server,
in other words what the difference compared with other FTP commands?

2. When using CURLOPT_INFILESIZE_LARGE option in case of upload,
the data->set.infilesize receives 107374182400 in spite of the original
value is 25. The verbose output is:

.

.

* Connected the data stream with PASV!

> TYPE I

< 200 Type set to I.

* Uploaded unaligned file size (25 out of 107374182400 bytes)

> QUIT

 

The file size is 25 bytes and it was transferred successfully. The
FORMAT_OFF_T is lld and sizeof(curl_off_t) is 8 (whether it should be
64?). When I print data->set.infilesize using %ld format the number is
indeed 25. But the calculation is still wrong. The last QUIT caused the
problem described earlier in question 1.

 

An option CURLOPT_INFILESIZE is working well but it should not support
large files, should it.

 

Any idea?

 

 

Thanks a lot.

 

Maya

 

-------------------------------------------------------------------------------------

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-04-20