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

curl: argument list too long

From: Shane Russo <shane_russo_at_hotmail.com>
Date: Tue, 20 Jul 2004 17:35:55 +1000

Hi,

I am using curl to automate logging into a site and downloading some files.

The site uses ASP.Net and has Viewstate activated.

The viewstate for one of the pages I am trying to post a form back to is
over 70kb and I am getting the error :

curl: argument list too long

The command I am using is:

curl -L -A "Mozilla/4.0 (compatible; MSIE 4.01; Windows 95)" -c
/usr/home/shane/Cubit/cookies.txt -b /usr/home/shane/Cubit/cookies.txt -d
"__VIEWSTATE=[70KB of
DATA!!]&MPToolbar%3ASearchString=&DDLCategory=38066&TxtArchiveFromDate=13%2F07%2F2004&TxtArchiveToDate=20%2F07%2F2004&date_option=publication&DDLDefaultDisplay=0&chkUnread=on"
"http://[SITE]/Pro/summaries.aspx?page=summaries"

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

Any assistance would be greatly appreciated!

Cheers
Shane

_________________________________________________________________
SEEK: Now with over 50,000 dream jobs! Click here:
http://ninemsn.seek.com.au?hotmail
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