I have seen a lot of confusion over the issue of receiving compressed files
from an HTTP server.
Keep in mind, most HTTP server admins want to avoid performing any extra "on
the fly" compression/decompression because it would slow down the HTTP server
exponentially. The HTTP servers generally handle any file downloads with as few
extra operations as possible.
Something that most people are unaware of is the fact that their User Agent (
i.e. InternetExplorer, FireFox, Safari, etc.) usually handles the decompression
of files as they are saved to the local file system, IF the MIME type is set.
This is something that was put in place by vendors many years ago in order to
make the "Internet Experience" more user friendly. Unfortunately for most
users, there is still confusion generated when you click on the "ok" to "save
as" the original filename of 'foo.tar.gz', because the expectation is that the
file will be saved as the particular file type designated by the extension. If
the MIME type isn't set correctly, then you often end up with files being saved
as expected. Ironic.
When I download files from Powerlink, I just compare the size, if it is larger
then I know the file was decompressed and I change the file name and go
straight to tar.
________________________________
From: Roberta Gold <gold11 AT LLNL DOT GOV>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Sent: Mon, November 23, 2009 11:29:22 AM
Subject: Re: [Networker] NetWorker 7.6 Binaries/Installers now available on
PowerLink
My experience has been that the ".gz" files downloaded from Powerlink
where never - ever gzip'd files ... (another thing that amazes me!!!)
>In regard to: Re: [Networker] NetWorker 7.6 Binaries/Installers now...:
>
>>That's further than I was able to get. I wanted to check out the new
>>NMC, but I could not even uncompress any of the .gz files I downloaded
>>this morning for Linux NW 7.6 X86_64, or X86, or even 7.5 X86_64 ... All
>>the download files seem to be corrupted... I opened a case and they
>>called saying they are attempting to reproduce the problem..
>
>I have a guess on that. Instead of trying to uncompress them, just
>un-tar them. I've run into this a few times with downloads from
>Powerlink. Even though the file names end with .gz, I've had many cases
>where they're not actually compressed.
>
>Tim
>--
>Tim Mooney Tim.Mooney AT ndsu DOT
>edu
>Enterprise Computing & Infrastructure 701-231-1076 (Voice)
>Room 242-J6, IACC Building 701-231-8541 (Fax)
>North Dakota State University, Fargo, ND 58105-5164
>
>To sign off this list, send email to listserv AT listserv.temple DOT edu
>and type "signoff networker" in the body of the email. Please write
>to networker-request AT listserv.temple DOT edu if you have any problems
>with this list. You can access the archives at
>http://*listserv.temple.edu/archives/networker.html or
>via RSS at http://*listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
--
Roberta Gold
Lawrence Livermore National Laboratory
Integrated Computing and Communications
HPSD - Security Technologies Group
gold11 AT llnl DOT gov
(925) 422-0167
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
[email protected] you have any problems with this list.
You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|