curl-users
Re: Auto resume bug in lib/ftp.c
Date: Mon, 14 Jul 2008 20:46:57 -0700
On Thu, Jul 10, 2008 at 10:14:01PM -0700, Dan Fandrich wrote:
> On Thu, Jul 10, 2008 at 11:15:25AM -0500, Adrian Kreher wrote:
> > curl failed to send a SIZE command when uploading a file to an FTP server
> > using -C - and started to overwrite the file from the beginning instead.
>
> I've just added test cases 1038 and 1039 to test uploads in this fashion
> and curl does send a SIZE command and resumes uploads without a problem.
I've added test cases 1040 and test1041 which test -C - on HTTP, and
test1041 looks like it shows up a problem which might be related to yours.
It generates the header:
Content-Range: bytes 18446744073709551615-/100
where that first integer just happens to be the signed 64-bit value -1 but
displayed as unsigned. Something is definitely fishy somewhere.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has moved ------------------------------------------------------------------- List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2008-07-15