Error while Unzipping


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Error while Unzipping
# 1  
Old 04-05-2012
Error while Unzipping

Hi,

I have transfered a Zip file from Windows to Unix and tried to Unzip it in Unix using ksh. But it throws an error:

Code:
error [determined.zip]: missing 24 bytes in zipfile
(attempting to process anyway)
error [determined.zip]: attempt to seek before beginning of zipfile
(please check that you have transferred or created the zipfile in the
appropriate BINARY mode and that you have compiled UnZip properly)
(attempting to re-compensate)
bad CRC b27331f4 (should be b7690c13)
file #3: bad zipfile offset (local header sig): 130009
(attempting to re-compensate)
file #3: bad zipfile offset (local header sig): 130009
file #4: bad zipfile offset (local header sig): 182259
file #5: bad zipfile offset (local header sig): 186149

what does the error mean and what can be done to rectify it ?

Last edited by Scrutinizer; 04-07-2012 at 07:38 AM.. Reason: change quote tags to code tags
# 2  
Old 04-05-2012
How did you transfer the file? FTP? Be sure to give the 'binary' command before transferring over FTP, or things will be corrupted like this.
This User Gave Thanks to Corona688 For This Post:
# 3  
Old 04-07-2012
Yes, I have FTPed the file. And I have used ASCII mode to transfer. I guess that is why the file got corrupted. After using the Binary command, it works fine.
Thanks Corona!!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Error when unzipping a file with extension .gz

I am trying to unzip a file with name D_R_38957222_20111410.txt.gz using the below command. gunzip D_R_38957222_20111410.txt.gz However, I am getting the following error while using the gunzip command as below... gunzip: D_R_38957222_20111410.txt.gz: invalid compressed data--crc error ... (24 Replies)
Discussion started by: dhruuv369
24 Replies

2. Shell Programming and Scripting

Unzipping .Z file in UNIX

Hi , How can I unzip a .Z file in Unix? Thanks and regards, Anupam (3 Replies)
Discussion started by: Anupam_Halder
3 Replies

3. Solaris

trouble unzipping a package

Hello Unix gurus, I have been studying to install packages in solaris 10 but I can't seem to move forward. I downloaded a test package online ( gdb-6.8-sol10-sparc-local.gz ) and ftp to my home in solaris 10. I gave this command gunzip gdb-6.8-sol10-sparc-local.gz and this is what i keep... (1 Reply)
Discussion started by: cjashu
1 Replies

4. Shell Programming and Scripting

Unzipping the file

I have my folder structure like a file a.zip is placed in one folder. Inside a.zip is two other zip files x.zip and y.zip If i unzip x.zip i have folder a folder z and inside folder z there are different folders with event time appended to it. Inside the every event folder ,I have a sub folder... (1 Reply)
Discussion started by: weknowd
1 Replies

5. UNIX for Dummies Questions & Answers

Unzipping multiple files

I have some 10 to 20 .ZIP files in a given UNIX Directory and how to extract all the files into a one output file and preferably a .GZ file. Pls suggest. (2 Replies)
Discussion started by: aravindj80
2 Replies

6. Linux

unzipping file > 2gb

I am not able to unzip file greater then 2gb, Any suggestions how to do that in linux? Regards, Manoj (5 Replies)
Discussion started by: manoj.solaris
5 Replies

7. HP-UX

Error while UNZIPPING

Hi, I have file.zip in windows machine, i moved that .zip to unix throught ftp. when i tried to unzip the .zip file getting the error. please see the below information for the same. I am using the below command to UNZIP : unzip /users/test/file.zip /users/test/test111 Below are the... (1 Reply)
Discussion started by: srujana
1 Replies

8. Shell Programming and Scripting

unzipping problem

Hi, I have downloaded the oracle 9i software from oracle website. The file is in the following format. "lnx_920_disk1.cpio.gz" I need to unzip this file for installing oracle9i in my system. I tried with the following command to unzip the file "$gunzip lnx_920_disk1.cpio.gz" but i am... (2 Replies)
Discussion started by: ravi raj kumar
2 Replies

9. UNIX for Dummies Questions & Answers

Unzipping problems in Unix

Hi, I have a zip file in a unix file system that contains approximately 1000000 files. I would like to unzip this file. When I use unzip, the unzip command starts extracting the files , but after extracting 65535 files, I am getting the following error. "note: didn't find... (1 Reply)
Discussion started by: narayanan0
1 Replies

10. UNIX for Dummies Questions & Answers

Unzipping

Ok, im a lame newb, i know, but what are all the options for the tar command, and how do i use it properly...? (3 Replies)
Discussion started by: FalconX2
3 Replies
Login or Register to Ask a Question