Can't download ATI drivers with wget

This has bugged me for some time … I’ve seen plenty of tutorials that include a command similar to:-

wget http://www2.ati.com/drivers/beta/amd-catalyst-14.2-betav1.3-linux-x86.x86_64.zip

That command always fails to download the drivers, instead just downloading the first few bytes.

Yet if you click that same link from the “http://support.amd.com” website, your browser can download them without issue.

Turns out the server that the files are sat on refuses to allow downloads unless the request was referred from the “http://support.amd.com” website.

So use the wget “–referer=” option to specify the referring website … as in:

wget --referer=http://support.amd.com http://www2.ati.com/drivers/beta/amd-catalyst-14.2-betav1.3-linux-x86.x86_64.zip