cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Getting CURLE_PARTIAL_FILE, how fix it?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 25 Jul 2008 23:15:32 +0200 (CEST)

On Fri, 25 Jul 2008, Tiago Conceição wrote:

Please don't top-post, we lose the context and threading!

> i removed: curl_easy_setopt(curl,
> CURLOPT_INFILESIZE_LARGE,(curl_off_t)file_info.st_size);
>
> and start work well on linux too
>
> should remove that line? /* Set the size of the file to upload (optional).*/

If that line breaks your app, it is most likely because you don't build it
with the necessary large file options set, so that 'curl_off_t' differs in
size between your app and libcurl.

-- 
  / daniel.haxx.se
Received on 2008-07-25