cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Corrupted file after FTP download resume

From: Tim Bannister <isoma_at_jellybaby.net>
Date: Wed, 21 Mar 2012 12:11:14 +0000

On 21 Mar 2012, at 11:28, Marcin Adamski wrote:

> I'm having problems with FTP download resume while using libcurl - downloaded file is of the same size as original one, but the content is different starting from some random byte after last transmitted byte before resuming (this offset can be as large as 1MB or more. I don't see any correlation

> Can you see any obvious mistake in my code?

I would try adding a seek callback – suggested by http://curl.haxx.se/mail/archive-2012-02/0032.html

-- 
Tim Bannister – isoma_at_jellybaby.net

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

  • application/pkcs7-signature attachment: smime.p7s
Received on 2012-03-21