ID #1033

Why wget on Linux cannot download a file that can be downloaded by firefox, etc.?

WGET supports prtocols like HTTP/S and FTP. Normally it works fine with any plain html links. However, if the link contains some special characters like ? &, then WGET cannot parse the link correctly. This is common when the link is actually a PHP page. To resolve this, simply put the link address in quotation marks. e.g., wget "http://somedomain.org/e.php?myfile.mp3"

Tags: linux

Related entries:

You can comment this FAQ