
4 Dec
2003
4 Dec
'03
07:17
Bruce Marshall wrote:
Anyone know if Wget can be made to pass a userid and a password in a form in order to get in to a site and grab the pages?
(no I'm not trying to crack anything... just trying to automate a process)
If the form is a standard http-authentication popup you can use the --http-user or --http-passwd options. The details are in the man pages (man wget). This is fairly common for 'internal' sites. If the form is on a web page, you'll probably need more work. -- JDL Non enim propter gloriam, diuicias aut honores pugnamus set propter libertatem solummodo quam Nemo bonus nisi simul cum vita amittit.