System Administration
Showing results for 
Search instead for 
Did you mean: 

End-of-central-directory signature not found

Occasional Visitor

End-of-central-directory signature not found

I have a zip file created on z/OS using pkzip being transferred to a HPUX box. When trying to unzip it on the HPUX it comes out with the following error

“End-of-central-directory signature not found. Either this file is not a zip file, or it constitutes one disk of a multi-part archive”

When the same archive was transferred from the z/OS to a windows based platform, it was successfully unzipped with WinZip.
The HPUX box used Infozip to unzip.

Can anyone point out whats going wrong ? Any additional info needed ?

Have tried searching as much as I could, while there is lot of discussion on this error, all seem to point to the direction that the zip file could be corrupted and no solution to explain how that can be avoided - especially when the same file works when transferred to a Windows platform...
Steven Schweda
Honored Contributor

Re: End-of-central-directory signature not found

> Any additional info needed ?

Almost always.

> [...] being transferred to a HPUX box.

How, exactly? Normally, binary FTP is safe.

> When trying to unzip it on the HPUX [...]

Output from "unzip -v"?

How big is the archive file? An archive
bigger than 2GB can confuse an old UnZip
program (one older than version 6.0).

> [...] zip file could be corrupted [...]

That's the usual reason. (But an archive
bigger than 2GB with UnZip 5.x is getting
more popular.)

> [...] no solution to explain how that can
> be avoided [...]

That depends on how the archive became
corrupted. You might try to copy the archive
back to the z/OS system, and see if it can be
read by PKZIP there.

Your PKZIP program (unknown version) may
offer compression and/or encryption methods
which your Info-ZIP UnZip program lacks, but
such incompatibilities should lead to a
different error message.

(By the way, if I had a problem with UnZIp,
then I might mention UnZip in the Subject.)