cURL / Mailing Lists / curl-library / Single Mail


RE: Does Libcurl support downloading payload in chunks to increase success rate?

From: Yehezkel Horowitz <>
Date: Thu, 27 Feb 2014 12:07:11 +0000

>Does libcurl download the whole payload as single chunk or does it divide the payload into smaller chunks. For example some download managers divide the whole payload into small chunks and download each chunk separately. If download of any chunk fails in between then only that chunk needs to be downloaded again and not the whole payload.

CURLOPT_RANGE is your friend.

But take into consideration that your application will need to manage the whole download (understand which parts downloaded successfully and which failed).

Yehezkel Horowitz

List admin:
Received on 2014-02-27