cURL / Mailing Lists / curl-users / Single Mail

curl-users

Please Help - Posting

From: xchris <lyralyra_at_fastmail.fm>
Date: Tue, 20 Jan 2004 19:52:08 +0100

I cannot post correctly because variable name is not set.
How can i solve?

 curl -A "Mozilla/4.0" -c cookie.txt -F username=xchris -F password=xxxxxx -F "submit=Log In" http://fwtorrent.mine.nu/index.php > /home/xchris/result.html

I really don't know which parameter to pass.
Please help...

thanks a lot
bye

Here Is the output from the browser.

<form action=take-login.php method=post name=quickbox>
                  <td valign="top">
                                        <input type=hidden value=torrents-browse.php name=returnto>
                    <div align="center">
                      <table cellspacing="1" width="100%">
                        <tbody>
                        <tr>
                          <td><font face="Verdana" size="1" color="#FFFFFF"><b>Login veloce</b></font></td>

                        </tr>
                        <tr>
                          <td>
                            <input size=20 name=username value="Username" style="font-family: Verdana; font-size: 8pt; color: #000000; font-weight: bold; border-style: solid; border-width: 1px; background-color: #C9E8F7" onfocus="this.value=''; document.quickbox.password.value='';">
                          </td>
                        </tr>
                        <tr>
                          <td>
                            <input type="password" size=20 name=password value="Password" style="font-family: Verdana; font-size: 8pt; color: #000000; font-weight: bold; border-style: solid; border-width: 1px; background-color: #C9E8F7" onfocus="this.value='';">

                          </td>
                        </tr>
                        <tr>
                          <td>
                            <input type="submit" value="Log In" style="font-family: Verdana; font-size: 8pt; color: #000000; font-weight: bold; border-style: solid; border-width: 1px; background-color: #C9E8F7">
                          </td>

-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
Received on 2004-01-20