Max Bowsher wrote:
>> The problem is that with a ?x=y, where y contains slashes, wget passes them
>> unchanged to the OS, causing directories to be created, but fails to adjyst
>> relative links to account for the fact that the page is in a deeper directory
>> that it should be. The solution is to map / to _ or something.

Thomas Lussnig wrote:
> a) The OS do not automaticly create directorys, this have wget todo

Looking back at my last email, I think "Did I really say that?!". That part is,
of course nonsense. However, the directories are created regardless.

> b) The idee to create directorys even for parameter is not wrong !!!
> This is only an example (not working) but you can see why directorys
> where chosen insteed of _
> http://download.com/get.php?filename=/windows/putty.exe
> http://download.com/get.php?filename=/linux/putty.tgz

I don't understand your example, but regardless, wget 1.9-beta from cvs
URL-encodes slashes in a query string.

Dominique: If I understand your problem correctly, then wget 1.9 has solved it.

Max.

Reply via email to