Re: Logon to a secure site with post-data?

2004-07-12 Thread Hrvoje Niksic
John Clarke [EMAIL PROTECTED] writes: The manual says it's possible, but I can't Logon to a secure site with post-data. I've been trying things like: wget -post-data=username=foopassword=bar https://mysecuresite.net/ authenticate.php It should be --post-data, with two dashes. And you

Re: Logon to a secure site with post-data?

2004-07-09 Thread Phil Endecott
Hi John, The server probably sends back a cookie when you log on. You need to send that cookie back with your subsequent wgets. This doesn't happen automatically. When you first run wget to logon, you need to give a --save-cookies argument indicating a file where it should save the cookies.