cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Getting CURLE_PARTIAL_FILE, how fix it?

From: Tiago Conceição <tiago_caza_at_hotmail.com>
Date: Sun, 27 Jul 2008 01:55:56 +0000

> Date: Sat, 26 Jul 2008 22:24:16 +0200
> From: daniel_at_haxx.se
> To: curl-library_at_cool.haxx.se
> Subject: RE: Getting CURLE_PARTIAL_FILE, how fix it?
>
> On Sat, 26 Jul 2008, Tiago Conceição wrote:
>
> >>> i removed: curl_easy_setopt(curl,
> >>> CURLOPT_INFILESIZE_LARGE,(curl_off_t)file_info.st_size);
>
> >> 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.
>
> > But i realy needit in my app or its optional?
>
> It is optional but recommended since it increases libcurl's ability to detect
> transfer errors. Also, if the reason your failure to use truly is that large
> file define, you'll risk hitting that problem anyway so avoiding an option
> because of that seems suboptimal to me.
>
> --
>
> / daniel.haxx.se

ok thanks

there are any CURLOPT_define for not replace file if exists? = not upload if file already exists

_________________________________________________________________
Confira vídeos com notícias do NY Times, gols direto do Lance, videocassetadas e muito mais no MSN Video!
http://video.msn.com/?mkt=pt-br
Received on 2008-07-27