Suggestion/Question

2006-02-26 Thread Markus Raab
Hallo, yesterday I encountered to wget and I find it a very useful program. I am mirroring a big site, more precious a forum. Because it is a forum under each post you have the action quote. Because that forum has 20.000 post it would download all with action=quote, so I rejected it with

problem with downloading when HREF has ../

2006-02-26 Thread Vladimir Volovich
Greetings, [wget version: 1.10.2] suppose that i run wget -r -l 1 http://some-host.com/index.html and index.html contains a link like this: A HREF=../directory/file.htmlfile/A then wget, when it tries to download this file, sends the following HTTP request: GET /../directory/file.html

Re: problem with downloading when HREF has ../

2006-02-26 Thread Vladimir Volovich
DV == Dmitry Vereschaka writes: suppose that i run wget -r -l 1 http://some-host.com/index.html and index.html contains a link like this: A HREF=../directory/file.htmlfile/A DV URL ../directory/file.html placed in DV http://some-host.com/index.html is illegal because no

Re: problem with downloading when HREF has ../

2006-02-26 Thread Dmitry Vereschaka
On Sun, 26 Feb 2006, Vladimir Volovich wrote: suppose that i run wget -r -l 1 http://some-host.com/index.html and index.html contains a link like this: A HREF=../directory/file.htmlfile/A URL ../directory/file.html placed in http://some-host.com/index.html is illegal because no

Re: problem with downloading when HREF has ../

2006-02-26 Thread Frank McCown
Vladimir Volovich wrote: DV == Dmitry Vereschaka writes: suppose that i run wget -r -l 1 http://some-host.com/index.html and index.html contains a link like this: A HREF=../directory/file.htmlfile/A DV URL ../directory/file.html placed in DV

Re: problem with downloading when HREF has ../

2006-02-26 Thread Vladimir Volovich
FM == Frank McCown writes: DV URL ../directory/file.html placed in DV http://some-host.com/index.html is illegal because no parent DV directory for /index.html exists. it is legal. it works everywhere else. that's why i ask to normalize the URL properly. FM The URL is legal if the web

Re: problem with downloading when HREF has ../

2006-02-26 Thread Hrvoje Niksic
Vladimir Volovich [EMAIL PROTECTED] writes: E.g., Apache 2.0 does complain on requests like GET /../dir/file.html HTTP/1.0 with HTTP/1.1 400 Bad Request so wget will not work properly at all. Wget's implementation is reflects rfc1808, which explicitly requires all extraneous .. path elements