On Thu December 4 2003 02:17 am, John Lamb wrote:
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.
The form is a web page..... and I've tried the user and passwd stuff and get an 'unknown authentication scheme' error from wget. Thanks... -- +----------------------------------------------------------------------------+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 12/04/03 09:56 + +----------------------------------------------------------------------------+ " Friends help you move. Real friends help you move bodies."