If i use firefox to download this file, all is well.

If I use wget it downloads the file, but calls it "download2.php?fileid=15"

the url is:

http://laby.toybox.de/download15/laby_1.0.1.tar.gz

There is some sort of redirect going on there because if you download 

http://laby.toybox.de/download15/ 

you also get the file, with the same error from wget

Here is the output - why does wget the name wrong when firefox is clever
enough to do it right?

[EMAIL PROTECTED] ~/tmp/laby/tmp $ wget 
http://laby.toybox.de/download15/laby_1.0.1.tar.gz
--13:47:04--  http://laby.toybox.de/download15/laby_1.0.1.tar.gz
           => `laby_1.0.1.tar.gz'
Resolving laby.toybox.de... 212.227.43.232
Connecting to laby.toybox.de[212.227.43.232]:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://laby.toybox.de/download2.php?fileid=15 [following]
--13:47:05--  http://laby.toybox.de/download2.php?fileid=15
           => `download2.php?fileid=15'
Connecting to laby.toybox.de[212.227.43.232]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4,882,608 [application/x-tgz]

-- 
Nick Rout <[EMAIL PROTECTED]>

Reply via email to