cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLOPT_RANGE

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 22 May 2007 22:52:14 +0200 (CEST)

On Tue, 22 May 2007, Caner Bulut wrote:

> I want to downlad a file divide small pieces with threads.a thread download
> a piece.I see that i use CURLOPT_RANGE to download pieces.But ,how i combine
> pieces to make that file again?

That's an excersize that libcurl doesn't solve that is up to your app to
solve. I would suggest that you concatenate all successfully downloaded
pieces. And if not all parts are downloaded successfully, deal with it.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-05-22