cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl: argument list too long

From: Shane Russo <shane_russo_at_hotmail.com>
Date: Wed, 21 Jul 2004 09:28:48 +1000

I must be blind, as I thought I had RTM.

Thanks for the help!!!!!

Cheers
Shane

>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
>

_________________________________________________________________
Play Love Hunt to win a $9000 holiday and find love!
http://mobilecentral.ninemsn.com.au/mclovehunt/lovehunt.aspx
Received on 2004-07-21