cURL / Mailing Lists / curl-users / Single Mail

curl-users

Problems to login to this page

From: arturo didonna <arturo_didonna_at_yahoo.it>
Date: Sun, 16 Jan 2005 22:28:00 +0100 (CET)

Hi, everyone.
I am having problems with curl in login into the page
http://www.ilsole24ore.com/ with my username e
password.

I used LiveHTTPHeaders with Firefox to figure out what
to post:

POST /DU/AuthFiles/logincentrale.aspx
URL=%2F&txtUsername=arturo2&txtPassword=stefi35&realSubmit=BYPOST&Rurl=http%3A%2F%2Fwww.ilsole24ore.com%2Ffc&ErrURL=http%3A%2F%2Fwww.ilsole24ore.com%2Ffc%3Fcmd%3Derror%26chId%3D30%26&SC=CO&vai.x=7&vai.y=6

Then, I formulated my curl request accordingly:

curl -A "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
5.0)" -b cookies -c cookies -d
"URL=/&txtUsername=arturo2&txtPassword=stefi35&realSubmit=BYPOST&Rurl=http://www.ilsole24ore.com/fc&ErrURL=http://www.ilsole24ore.com/fc?cmd=error&chId=30&&SC=CO&vai.x=7&vai.y=6"
http://du.ilsole24ore.com/DU/AuthFiles/logincentrale.aspx

I get the answer:

<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a
href='http://www.ilsole24ore.com/fc'>here</a>.</h2>
</body></html>

I can login to this page with no problem with all the
browser I tried. I wonder if I am doing soemthing
wrong and if anyone could be willing to help me.

Thanks in advance.

Arturo

                
___________________________________
Nuovo Yahoo! Messenger: E' molto pił divertente: Audibles, Avatar, Webcam, Giochi, Rubrica… Scaricalo ora!
http://it.messenger.yahoo.it
Received on 2005-01-16