Unzip windows file on Unix


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Unzip windows file on Unix
# 1  
Old 11-08-2007
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  
Old 11-08-2007
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  
Old 11-08-2007
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  
Old 11-08-2007
I suggest you unzip it on Windows, then transfer it to AIX in a form it can deal with.
# 5  
Old 11-08-2007
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  
Old 11-08-2007
I suggest you find a copy of pkzip/unzip for AIX.
# 7  
Old 11-09-2007
This might sound stupid, but you are transfering the file in 'bin' format, aren't you? If not, there's pretty much no chance that you will be able to unzip the file.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Unzip the .zip file without using unzip utility in UNIX

I have .zip file, i want to list all the files archived in the zip file. unzip utility is not working for me in unix. Please help me resolve this issue Thanks ganesh. (3 Replies)
Discussion started by: Ganesh L
3 Replies

2. UNIX for Dummies Questions & Answers

UNIX unzip command

Hi, i transferred a .zip file from windows to Unix. i'm getting error while doing unzip in Unix like command : bash-3.2$ unzip ******.zip message : Archive: *******.zip End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk... (2 Replies)
Discussion started by: asv444
2 Replies

3. UNIX Desktop Questions & Answers

Can Unix access Windows' File through Command Prompt in Unix

Hi all, I wish to know whether Unix can access window's file in Unix's terminal? Apart from that, how to copy files or share files between Window and Unix? I get to know of secure copy, however, my company's Unix does not support the feature of secure copy? Any other method for me to share/... (5 Replies)
Discussion started by: jessy83
5 Replies

4. Shell Programming and Scripting

UNIX script to FTP file from UNIX server to windows

Hi, I am new to this subject.....Can someone please help me out with the script... unix usernm "sdhftst" unix pwd "chsd13" windows usernm "dfghtst" windows pwd "chsd13" path..../xxx/xxxxx/xxxxxx/xxxxxxx please can u get me a script...its only one file to get ftp. Thanks... (2 Replies)
Discussion started by: himakiran9
2 Replies

5. Shell Programming and Scripting

Batch job in unix server to move the pdf file from unix to windows.

Hi Experts, I have a requirement where i need to setup a batch job which runs everymonth and move the pdf files from unix server to windows servers. Could some body provide the inputs for this. and also please provide the inputs on how to map the network dirve in the unix like that... (1 Reply)
Discussion started by: ger199901
1 Replies

6. Shell Programming and Scripting

How to Unzip a file using unzip utility for files zipped without zip utility ?

Hi, I need to zip/compress a data file and send to a vendor. The vendor does have only unzip utility and can accept only .ZIP files. I do not have zip utility in my server. How do I zip/compress the file so that it can be deflated using unzip command ? I tried gzip & compress commands, but... (1 Reply)
Discussion started by: Sabari Nath S
1 Replies

7. Shell Programming and Scripting

unzip .zip file in unix

Hi friends, I have a .zip file which has 6 pdf files. I have ftp'd the .zip file into unix and I am trying to uncompress/unzip the file. Could you please help with the right command. Thanks (7 Replies)
Discussion started by: techmoris
7 Replies

8. UNIX for Advanced & Expert Users

how to unzip 17GB .zip file on UNIX?

I have a .zip file of size 17GB on Linux. As per my knowledge unzip(before 6.X version) doesn't work with file size greater than 4GB. I tried my best to uncompress it but didn't successed. Can anybody help me out with this? Any help will be greatly appreciated. Thank you. Regards, Chandu (2 Replies)
Discussion started by: chance04
2 Replies

9. Shell Programming and Scripting

How to Unzip a .ZIP file in Unix without using unzip cmd..?????

Hi All I have ftped a .ZIP file (zipped using WinZip in Windows) to my Unix server (HP-UX). I don't have unzip cmd available in my curent Unix version Please let me know any cmd in UNIX (other than unzip) using which I can unzip this .ZIP file . Please elaborate on the commands aval and... (5 Replies)
Discussion started by: sureshg_sampat
5 Replies

10. HP-UX

How to Unzip a .ZIP file in Unix without using unzip cmd..?????

Hi All I have ftped a .ZIP file (zipped using WinZip in Windows) to my Unix server (HP-UX). I don't have unzip cmd available in my curent Unix version Please let me know any cmd in UNIX (other than unzip) using which I can unzip this .ZIP file . Please elaborate on the commands aval and... (5 Replies)
Discussion started by: sureshg_sampat
5 Replies
Login or Register to Ask a Question