cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Transferred a partial file

From: leela siva <sivaleelak_at_gmail.com>
Date: Tue, 21 Jan 2014 14:57:13 +0530

HI,

libcurl version -
curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7
NSS/3.14.3.0zlib/1.2.3 libidn/1.18 libssh2/1.4.2
Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz

OS is

Linux 2.6.32-358.17.1.el6.x86_64 #1 SMP Tue Jul 23 18:04:58 EDT 2013 x86_64
x86_64 x86_64 GNU/Linux

protocol using is - FTP

please help me regarding this.

i am getting same partial file transfer error.

Thanks and reagrds
Koka

On Tue, Jan 21, 2014 at 2:28 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:

> On Tue, 21 Jan 2014, leela siva wrote:
>
> i am using this line in my code .Is there any problem with this
>> .
>> stat(localFile.c_str(), &file_info)
>> curl_off_t fsize = (curl_off_t)file_info.st_size;
>> curl_easy_setopt(m_curl_handle, CURLOPT_INFILESIZE_LARGE,
>> (curl_off_t)fsize);
>>
>
> First, please don't top-post: http://curl.haxx.se/mail/
> etiquette.html#Do_Not_Top_Post
>
> That piece of the code is not a problem. The error code is for what you
> receive or don't receive.
>
> Also, you didn't tell us which libcurl verison or what platform or what
> protocol your using. You leave us guessing quite a lot and that will lead
> to less good advice and answers.
>
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-01-21