Is it possible to use wget to retrieve a page which is behind a user/password protection and how?

 

I’ve tried to do it this way:

 

wget --save-cookies cookies.txt  --post-data 'Kortnummer=xxxx&Password=xxxx'  http://213.173.230.31

wget --load-cookies cookies.txt  -p http://213.173.230.31/cgi-bin/tabcntrl

 

these are put in a *.bat file in windows, but it doesn’t work. I’ve also tried it without the cookies and I’ve tried to put the user/password directly in the URL (http://xxxx:[EMAIL PROTECTED])

 

the xxxx is a number for testing purpose which I have but don’t just hand out for obvious reasons. But anyone trying to help out would off-cause be able to get the number from me.

 

Best regards

Bent Neumann

Reply via email to