Wget a directory with exact filenames?

Posted by kaspr on Super User See other posts from Super User or by kaspr
Published on 2010-11-04T20:27:12Z Indexed on 2011/01/12 14:56 UTC
Read the original article Hit count: 150

Filed under:

The following works because I inserted the exact filename:

wget --referer=http://www.*****.com --cookies=on --load-cookies=cookie.txt --keep-session-cookies --save-cookies=cookie.txt http://www.*****.com/doc/GG-15252252.html

But if I just do it with the doc dir I will get a 403 error message:

Connecting to www.*****.com|***.**.***.**|:**... connected.
HTTP request sent, awaiting response... 403 Forbidden
2010-11-04 21:25:38 ERROR 403: Forbidden.

So I can't list the dir, what can I do?

Please help anybody and thanks :)!!

© Super User or respective owner

Related posts about wget