| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
Re: How do I post a file from command line
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 7 May 2009 10:09:05 +0200 (CEST)
On Wed, 6 May 2009, David Hounsome wrote:
> Curl (firefox and IE) "seem" to chop the message up into seperate small
That's not a correct description.
That's a HTTP multipart formpost you describe, and there's no "target requests
> For some reason, my hardware would recieve the first and no more would get
I disagree with this description too.
This data is a TCP stream. You can't sent it as one large or many small ones.
You _can_ use larger or smaller buffers to send() when the data is sent from
Still, this causing problems in your end is more a proof of your system's
> So, might it be possible to add an option to curl to send large messages in
It doesn't chop them up. see curl/lib/formdata.c:Curl_FormReader() for the
> but in the time scales I have/had this was the best i could come up with.
I fully understand time pressure and wanting to get a working thing shipped.
But when I consider things for the main code I need to consider the big
Thanks for taking your time to desrcibe it for me!
-- / daniel.haxx.se ------------------------------------------------------------------- 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 2009-05-07 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info