cURL / Mailing Lists / curl-library / Single Mail

curl-library

(no subject)

From: <namitha.gowda_at_wipro.com>
Date: Wed, 25 Jan 2006 18:41:05 +0530



This is in response to reply by Daniel Stenberg

Are you using FTP? Is the transfer taking a long time? Do you by any chance
get a timeout on the control channel?

>>>>Yes, we r using FTP. It is not taking long time. it is exiting quickly. we are NOT getting any timeout error.

output after using verbose option:

 DO-MORE phase ends
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 27.3M 0 0 0 27.3M 0 2290k --:--:-- 0:00:12 --:--:-- 1759k* Uploaded unaligned file size (29506942 out of -4265460354 bytes)
100 28.1M 0 0 0 28.1M 0 2282k --:--:-- 0:00:12 --:--:-- 1504k* Closing connection #0

-----------------------------------------------------------------------------------
Hi,

We are using curl library version 7.13.1 on Debian 3.1 kernel version 2.6.8-2-686
The function curl_easy_perform is returning an error code 18 (CURLE_PARTIAL_FILE), when we try to upload a 28.1 MB file.
But the upload seems to be sucessfull.
Why it is not returning CURLE_OK?

we also use the following functions
ifstream infile;

curl_easy_setopt(curl,CURLOPT_URL, ftpUrl.c_str());

curl_easy_setopt(curl, CURLOPT_INFILESIZE_LARGE,sizeCurl);

curl_easy_setopt(curl, CURLOPT_READDATA, &inFile);

curl_easy_setopt(curl, CURLOPT_USERPWD, credentials.c_str());


curl_easy_setopt(curl, CURLOPT_FTP_RESPONSE_TIMEOUT, ftpTimeout);
curl_easy_setopt(curl, CURLOPT_VERBOSE, verbose);

curl_easy_setopt(curl, CURLOPT_NOPROGRESS, noprogress);

Please let us know if we are going wrong somewhere or if this is a known issue in curl 7.13.1 on Debian 3.1 Kernel version 2.6.8-2-686.

if this is a known issue, please let us know, how we can resolve this issue.

Thanks





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.com
Received on 2006-01-25