Jim wrote regarding 'Re: [SLE] Is there a reliable downloader for Linux' on Sat, Aug 28 at 13:36:
Patrick Shanahan wrote:
* Felix Miata
[08-21-04 11:12]: The standard cross-platform CLI downloader: wget.
I will agree strongly with this. Start it and forget it.
There is also lftp which works similarly and will background continue.
A lot of the d/ls I have trouble with have a redirection in the download link, like a php file, so I don't have a clue where the real file is coming from.
Any clues on how to get around this with wget or similar software?
lynx -dump http://url ? You might also look into curl. I'm not sure if it handles timed redirects any better than wget, but it's worth a shot. If you're into perl, you could probably throw together a program pretty easily that uses LWP to request a page, and then if the mime-type of the requested URL is text/html, look for a meta-redirect tag and pull the URL referenced there, otherwise download the requested URL... --Danny