On Tue, 26 Aug 2014, Gisle Vanem wrote:

Which Windows compiler are you Dushyant using that supports "%llu". MingW? Another problem AFAICS:
   long resumeFrom = 0;
   curl_easy_setopt(curlhandle, CURLOPT_HEADERDATA, &resumeFrom);

resumeFrom should be 'long long'. And use _fseeki64() too.

Ah yes. And when using a large enough 'resumeFrom', CURLOPT_RESUME_FROM_LARGE must be used and not CURLOPT_RESUME_FROM as 'long' on any windows is still just 32 bit.

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to