cURL / Mailing Lists / curl-library / Single Mail


Re: Transferred a partial file

From: Daniel Stenberg <>
Date: Tue, 21 Jan 2014 09:58:18 +0100 (CET)

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:

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.

List admin:
Received on 2014-01-21