The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to Unzip a .ZIP file in Unix without using unzip cmd..????? sureshg_sampat Shell Programming and Scripting 5 11-15-2008 04:44 AM
How to Unzip a .ZIP file in Unix without using unzip cmd..????? sureshg_sampat HP-UX 5 02-08-2007 10:01 AM
How to unzip a .zip file when yogesh_powar UNIX for Advanced & Expert Users 2 06-30-2006 03:40 AM
how can perform zip or unzip at unix console lmraochodisetti UNIX for Dummies Questions & Answers 2 06-23-2006 02:44 PM
unzip a zip file xNYx UNIX for Dummies Questions & Answers 4 03-20-2002 09:02 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-08-2007
terala_s terala_s is offline
Registered User
  
 

Join Date: May 2007
Posts: 9
Unzip windows file on Unix

Hi,

I FTP a zip file from the windows box (used WinZip to compress the files) and when i am trying to unzip on AIX box it is unzipping, it is aborting with following message

-------------------
error: expected central file header signature not found (file #0).
(please report to info-zip@wsmr-simtel20.army.mil)

warning: didn't find end-of-central-dir signature at end of central dir.
(please report to info-zip@wsmr-simtel20.army.mil)
-----------------


i am not sure what is causing this issues.
but the reason could be - as the zip file contains the sub-folders in it and in sub-folders actual data files resides which i am interested. because of they being Windows folder structure and having spaces in the files names might be causing the issue.

Is there a ways to over the issues (of course if that is the cause) to get the windows files to unix box. I am trying to avoid multi layer process to bring the Zip file to windows environment and unzip and ftp the files to Unix Aix box.


Any help is appreciated!

Thanks
  #2 (permalink)  
Old 11-08-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
AIX can happily have spaces in files, the problem is more likely to be the format of the zip file.

What else do you have on your windows box?

mksnt, cygwin or SFU: use tar/compress or tar/gzip

putty: just "pscp -r" all the files up in one go.

or get an original copy of pkzip/pkunzip for windows.
  #3 (permalink)  
Old 11-08-2007
terala_s terala_s is offline
Registered User
  
 

Join Date: May 2007
Posts: 9
Hi Porter,

Zip file we are getting from a outside vendor where we do not have any control and the same zip file is being send to multiple other customer but they are all on Windows server and it is not causing any issues for them.

i just got a not that - the outside vendor uses Exceed to compress the window file folder and sub folders.

Thanks
  #4 (permalink)  
Old 11-08-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
I suggest you unzip it on Windows, then transfer it to AIX in a form it can deal with.
  #5 (permalink)  
Old 11-08-2007
terala_s terala_s is offline
Registered User
  
 

Join Date: May 2007
Posts: 9
Porter, we are Unix shop and do not have Windows box in our project, i am trying if we can do anything on Unix which helps us.

Thanks
  #6 (permalink)  
Old 11-08-2007
porter porter is offline Forum Advisor  
Registered User
  
 

Join Date: Jan 2007
Posts: 2,965
I suggest you find a copy of pkzip/unzip for AIX.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:53 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0