curl-library
Re: first 94208 bytes corrupted! (Ubuntu 14)
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 24 May 2014 17:23:08 +0200 (CEST)
Date: Sat, 24 May 2014 17:23:08 +0200 (CEST)
On Fri, 23 May 2014, Wagner Patriota wrote:
> I noticed I didn't check if the file handle is actually valid. Now I fixed
> and I will test a little more... [in bold] But I really don't think it's the
> error, once the file it's supposed to write on is a *completely new path*,
> almost impossible the file handle not be valid.
That wouldn't have been a likely problem anyway. A bad file handle would not
suddently cause zeroes to get written after 94KB.
Your example looks pretty much like what curl the command line tool does. Does
invoking curl on that URL cause the same problem?
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2014-05-24