cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Uploding large files on Windows fails consistently

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 3 Mar 2014 15:01:26 +0100 (CET)

On Mon, 3 Mar 2014, Sandeep Sastry wrote:

> $ ./curl.exe -X PUT -T onegb.txt http://mysite.com -u user@email.com:123456-v

A very minor detail: -X PUT is completely superfluous here.

>> Content-Length: 1073741824

> * Done waiting for 100-continue
> < HTTP/1.1 100 Continue
> * We are completely uploaded and fine

... this isn't showing anything that isn't supposed to happen! That final
debug output is from lib/transfer.c:readwrite_upload() when the code has sent
off the entire file.

I assume you mean it says this prematurely? That would indicate that the
condition would trigger too early and I don't see how that happens. Can you?

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-03-03