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

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.

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

I suggest you unzip it on Windows, then transfer it to AIX in a form it can deal with.

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

I suggest you find a copy of pkzip/unzip for AIX.

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.