curl-library
Re: Resume download with libcurl
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 23 Sep 2010 11:41:31 -0700
Date: Thu, 23 Sep 2010 11:41:31 -0700
On Thu, Sep 23, 2010 at 04:09:08PM +0200, Thomas Chavanis wrote:
> I found an example of resume failed transfer for the upload part : http://
> curl.haxx.se/libcurl/c/ftpuploadresume.html
>
> But, is it possible to resume a download failed transfer?
> If it is possible, how can we do that with libcurl?
You would use the CURLOPT_RANGE or CURLOPT_RESUME_FROM parameter to set
the start transfer point of the remote file, then append the received
data to the end of the existing file.
>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-09-23