| Still sounds like a form authentication problem. I haven't fully figured
httrack out yet, but if you're using wget...
CONFIRM THE NAMES FOR USER & PASSWORD.
Open the login form page source, and search for "<input ". You will find a
string that looks something like:
<input style="font-family: Arial; font-size: 10pt" type="text" name="username"
size="15" maxlength="40" value="" />
Below that you will probably find the password string:
<input style="font-family: Arial; font-size: 10pt" type="password"
name="password" size="15" maxlength="40" />
In the example above, the variable names are "username" and "password" (as
opposed to something like "user" and "pwd").
---
In Firefox, download the Export Cookies add-on, then login to your site, look
around, and Export the result to your project_directory\cookies.txt.
---
Add these options to your wget command:
--cookies=on --load-cookies "/cygdrive/c/project/cookies.txt"
--no-check-certificate --post-data
"username=<your_user_name>&password=<your_pwd>" --execute robots=off
(Remember: The variable names "username" and "password" may be different for
you.)
---
Now if I could just figure out how to get past httrack's postfile, I'd abandon
wget in a heartbeat!
| |