Hi, I am not sure if this is a bug in wget or if there is any way of getting around this.
I have this following code in my shell script. rand=$RANDOM `wget -t2 -T30 $url -P/tmp/$rand` This works fine with normal downloads. (e.g. http://website.com/file.exe) and the file gets downloaded to /tmp/<random number> However, if I use a URL like this (http://website.com/get.php?id=02908) the file does not get downloaded to /tmp/<random number> instead it will be downloaded to the same directory where wget is called. I can't seem to find a way to fix this. Can anyone help please?? Thanks Alan
