passing a login and password
Hi I have a client who basically needs to regularly grab content from part of their website and mirror or it and or save it so they can disseminate it as HTML on a CD. The website though is written in ColdFusion as requires application level authentication which is just form vars passed to the system called login and one called password. Is there a way to do this with wget? If not I suspect I can add to the applications security something that looks for the login and password in the URL then I could just make sure to append that to the URL that is given to wget. Thanks in advance, Robi
Re: passing a login and password
robi sen wrote: > Hi I have a client who basically needs to regularly grab content from > part of their website and mirror or it and or save it so they can > disseminate it as HTML on a CD. The website though is written in > ColdFusion as requires application level authentication which is just > form vars passed to the system called login and one called password. > > Is there a way to do this with wget? If not I suspect I can add to the > applications security something that looks for the login and password in > the URL then I could just make sure to append that to the URL that is > given to wget. Later versions of wget support posting of forms. Try: wget http://www.yourclient.com/somepage.html --http-post="login=user&password=pw" Tony