Hi! I have noticed that wget doesn't automatically use the option '--content-disposition'. So what happens is when you download something from a site that uses content disposition, the resulting file on the filesystem is not what it should be.
For example, when downloading an Ubuntu torrent from mininova I get: {uragan}[~/tmp]$ wget http://www.mininova.org/get/946879 --2007-12-03 15:58:46-- http://www.mininova.org/get/946879 Resolving www.mininova.org... 87.233.147.140 Connecting to www.mininova.org|87.233.147.140|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 28064 (27K) [application/x-bittorrent] Saving to: `946879' 100%[============================================================>] 28,064 87.0K/s in 0.3s 2007-12-03 15:58:47 (87.0 KB/s) - `946879' saved [28064/28064] When use the option --content-disposition: {uragan}[~/tmp]$ wget --content-disposition http://www.mininova.org/get/946879 --2007-12-03 15:59:18-- http://www.mininova.org/get/946879 Resolving www.mininova.org... 87.233.147.140 Connecting to www.mininova.org|87.233.147.140|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 0 [application/x-bittorrent] --2007-12-03 15:59:18-- http://www.mininova.org/get/946879 Connecting to www.mininova.org|87.233.147.140|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 28064 (27K) [application/x-bittorrent] Saving to: `-{mininova.org}- ubuntu-7.10-desktop-i386.iso.torrent' 100%[============================================================>] 28,064 47.8K/s in 0.6s 2007-12-03 15:59:19 (47.8 KB/s) - `-{mininova.org}- ubuntu-7.10-desktop-i386.iso.torrent' saved [28064/28064] I realize that I could put this option in .wgetrc, but I think that it would be better if this was the default because the majority of users is unaware of this option, and cannot hope to find it unless acquainted with the inner mechanics of HTTP. Also, it's nearly impossible to find. I've been googling it and finally managed to dig it up from the documentation.