gunzip problem! unexpected end of file

I've downloaded the tomcat from the link below and ftp to Solaris by ftp in binary mode
Ref: Index of /dist/jakarta/tomcat-5/v5.0.30/bin

gunzip -c jakarta-tomcat-5.0.30.tar.gz | tar -xvf -
 
gunzip: jakarta-tomcat-5.0.30.tar.gz: unexpected end of file
tar: read error: unexpected EOF

However, it displays error....how to solve it?

download the checksum from the source, too and check if your file is corrupted.

I've checked with MD5Checksum, the codes are different. How to get the entire file?

However, the jakarta-tomcat-5.0.30.tar.gz can be decompressed. Does it affect the performance in Solaris?

whats the connection between decompressing the file and performance of tomcat ?:confused:
To make it simple, re-download the file.
#gunzip <filename>.tar.gz
#tar -xf <filename>.tar > /dev/null &

Try...:wink:

I've redownded the file from other browsers (e.g. Opera/Firefox) at window platform. The file is still incomplete. It's so strange..

is your disk full?

It used up to 88%....there's room to run..

I went to the site to download.
I noticed that the extension is <filename>.tar.tar so you should untar twice..

The tar file was created with a (partially broken) Gnu tar. Use gtar to extract it.

$ wget http://archive.apache.org/dist/jakarta/tomcat-5/v5.0.30/bin/jakarta-tomcat-5.0.30.tar.gz
--13:00:09--  http://archive.apache.org/dist/jakarta/tomcat-5/v5.0.30/bin/jakarta-tomcat-5.0.30.tar.gz
           => `jakarta-tomcat-5.0.30.tar.gz'
Resolving archive.apache.org... 192.87.106.226
Connecting to archive.apache.org|192.87.106.226|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 10,842,790 (10M) [application/x-tar]

99% [===================================> ] 10,736,400   227.34K/s    ETA 00:00
100%[====================================>] 10,842,790   246.22K/s    ETA 00:00
13:00:45 (292.92 KB/s) - `jakarta-tomcat-5.0.30.tar.gz.1' saved [10842790/10842790]
$ ls -l jak*
-rw-r--r--   1 jlliagre 10842790 Nov 24  2004 jakarta-tomcat-5.0.30.tar.gz
$ gunzip jak*
$ ls -l jak*
-rw-r--r--   1 jlliagre 42362880 Nov 24  2004 jakarta-tomcat-5.0.30.tar
$ gtar tf jak*tar
jakarta-tomcat-5.0.30/bin/catalina.sh
jakarta-tomcat-5.0.30/bin/digest.sh
jakarta-tomcat-5.0.30/bin/setclasspath.sh
jakarta-tomcat-5.0.30/bin/shutdown-using-launcher.sh
jakarta-tomcat-5.0.30/webapps/webdav/index.html
jakarta-tomcat-5.0.30/webapps/webdav/tomcat-power.gif
jakarta-tomcat-5.0.30/webapps/webdav/tomcat.gif
gtar: A lone zero block at 82727
$ gtar xf jak*
gtar: A lone zero block at 82727