"bourquep (Pascal Bourque)" <pascal.bourque / gmail.com> wrote:
>  ~/Downloads: wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz
>  Resolving ftp.ruby-lang.org... 221.186.184.68
>  Connecting to ftp.ruby-lang.org|221.186.184.68|:80... connected.
>  HTTP request sent, awaiting response... 200 OK
>  Length: 60016640 (57M) [application/x-tar]
>  Saving to: `ruby-1.9.3-p194.tar.gz'
>  2012-07-26 11:22:26 (28.2 MB/s) - `ruby-1.9.3-p194.tar.gz' saved [60016640/60016640]
> 
>  ~/Downloads: ls -l ruby-1.9.3-p194.tar.gz 
>  -rw-r--r--  1 pascal  staff  60016640 20 Apr 02:57 ruby-1.9.3-p194.tar.gz

I think this is because Content-Encoding: gzip is set by the server.
This causes wget to decompress the gzip'ed data (even though wget
didn't request with Accept-Encoding: gzip).

You can try a different HTTP client which won't attempt to decompress
blindly (or a different version/build of wget).