You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by "Andrew C. Oliver" <ac...@nc.rr.com> on 2002/01/18 15:01:58 UTC

the .tar.gz extension

Sorry if this has been answered, I've not run across the answer.  I've
noticed a couple of projects' recent binary builds are named X.tar.gz
but are actually just straight tar files.  Its a bit unwise IMO to name
tar files .tar.gz if they're not gzipped because dimwits like me type
"tar xvzf" on them and then tar or gzip tells them its corrupt and they
download it again before realizing its just not gzipped (or assume the
build is just corrupt).

Anyone know if this is this a per project thing or part of a Jakarta
build process?

-Andy
-- 
www.superlinksoftware.com
www.sourceforge.net/projects/poi - port of Excel format to java
http://developer.java.sun.com/developer/bugParade/bugs/4487555.html 
			- fix java generics!


The avalanche has already started. It is too late for the pebbles to
vote.
-Ambassador Kosh


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: the .tar.gz extension

Posted by Conor MacNeill <co...@cortexebusiness.com.au>.
Andy Armstrong wrote:

> 
> Is this perhaps because the server they're on is sending them using gzip
> encoding which means that the browser expands them as it downloads.
> Apache does that. If you have index.html.gz for example it'll be served
> compressed and expanded by the browser.
> 


Yes, I believe this is the case. Unfortunately, in my experience 
(Mozilla) the file still gets saved with the .gz extension when it is in 
fact a tar file. That can be a little confusing. When gzip complains, I 
immediately suspect that the download screwed up :-)

Conor





--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: the .tar.gz extension

Posted by Andy Armstrong <an...@tagish.com>.
"Andrew C. Oliver" wrote:
> 
> Sorry if this has been answered, I've not run across the answer.  I've
> noticed a couple of projects' recent binary builds are named X.tar.gz
> but are actually just straight tar files.  Its a bit unwise IMO to name
> tar files .tar.gz if they're not gzipped because dimwits like me type
> "tar xvzf" on them and then tar or gzip tells them its corrupt and they
> download it again before realizing its just not gzipped (or assume the
> build is just corrupt).

Is this perhaps because the server they're on is sending them using gzip
encoding which means that the browser expands them as it downloads.
Apache does that. If you have index.html.gz for example it'll be served
compressed and expanded by the browser.

-- 
Andy Armstrong, Tagish

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>