cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How can I resume my download?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 23 Jan 2012 22:11:31 +0100 (CET)

On Mon, 23 Jan 2012, Chronos CC wrote:

> curl_easy_setopt(handler, CURLOPT_RANGE, remote_offset);
> // setting up offset of local file
> curl_easy_setopt(handler, CURLOPT_RESUME_FROM, local_offset);

I know you already got comments in IRC about you using both these options but
only one should suffice. As you haven't updated your post here after you've
been given that input, I'll assume you're good for now.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-01-23