cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: libcurl crashing at fwrite while downloading http file

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Sat, 25 May 2013 11:06:47 +0200

On Fri, May 24, 2013 at 10:51:23AM -0700, Sukhdev Singh wrote:
> I am using libcurl to dwonload file using http URL. File is very big, it can be
> around 5 GB.
>
> I tried two ways;-
>
> 1. Using libcurl's internal WRITEFUNCTION
> 2. Wrote my own WRITEFUNCTION
>
> In both above cases my application crashes in the middle of download at fwrite.

What form does this crash take? Does the filesystem on which this is being
written support files larger than 4 GB?

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-05-25