cURL / Mailing Lists / curl-users / Single Mail

curl-users

Getting asp pages

From: Enrico Bonaria <ebonaria_at_hotmail.com>
Date: Mon, 29 Dec 2003 18:04:08 +0100

I'm trying to get some pages written in asp which display each 10 row of a
list.

If I build a page with a form posting the __VIEWSTATE and the __EVENTTARGET
the browser shows the correct page but if I try to get it with curl ( curl
-L -v -u USERNAME:PASSWORD -F "__EVENTTARGET=VALUE%3AVALUE%3AVALUE" -F
"__VIEWSTATE=<FILE.TXT"
"http://www.mysite.com/dafault.aspx?VALUEGET1=AAA&VALUEGET2=BBB" ) I can get
only the first page.

I tried the --cookie-jar option in order to check if some cookies were
passed but none.
I also tried -A option to check if the asp is looking for MSIE.

Can someone help me ?

_________________________________________________________________
Nuovo MSN Messenger 6.1 con sfondi e giochi! http://messenger.msn.it/
Provalo subito!

-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
Received on 2003-12-29