In my case the problem is with SourceForge.net. Actually I was trying to download these files:
Something did not went good, so I logged wget, and the log file was:
--2012-08-21 09:52:17-- http://sourceforge.net/projects/wxpython/files/wxPython/220.127.116.11/wxPython-src-18.104.22.168.tar.bz2/download Resolving sourceforge.net... 22.214.171.124 Connecting to sourceforge.net|126.96.36.199|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 18846 (18K) [text/html] Saving to: `download' 0K .......... ........ 100% 6.30K=2.9s 2012-08-21 09:52:25 (6.30 KB/s) - `download' saved [18846/18846] --2012-08-21 09:52:25-- http://sourceforge.net/projects/wxpython/files/wxPython/188.8.131.52/wxPython-docs-184.108.40.206.tar.bz2/download Connecting to sourceforge.net|220.127.116.11|:80... connected. HTTP request sent, awaiting response... 200 OK The file is already fully retrieved; nothing to do. FINISHED --2012-08-21 09:52:28-- Downloaded: 1 files, 18K in 2.9s (6.30 KB/s)
As you can see in this log file, I end up in getting a single HTML file :(
This shows that wget doesn't waits on the page to let webpage to redirect it to another location, and it downloads the page itself.
I want those two files, with wget, how can I?