cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

Re: curl: argument list too long

From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Tue, 20 Jul 2004 10:38:48 +0200

Shane Russo wrote:

> Is there a workaround for this (can I load the arguments in via a file
> and get around the argument list limit in that way?)

Famous saying: "If all else fails, try the manual". :-)

Quote from the man page:

"If you start the data with the letter @, the rest should be a file name
to read the data from, or - if you want curl to read the data from
stdin. The contents of the file must already be url-encoded. Multiple
files can also be specified. Posting data from a file named 'foobar'
would thus be done with --data @foobar."

So, put the data in a file, and use -d @<filename>.

Linus
Received on 2004-07-20

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET