Monday, April 18, 2011

Could not find End Of Central Directory

This is one of the Common Exceptions which we come across almost daily in our lives. When i was trying to run a unix command which requires a zip file to a processed.

Exception i encountered was:
"'/nfs/home/ttipton/vig/04-15/' could not be processed. [Could not find End Of Central Directory]"

The real culprit for this exception was that the zip file was around 3 gb of size and unix wasn't able to unzip it before processing it. I unzipped the files onto my local system and split it into three zip files of 1 gb each. This way the zip file can be unzipped appropriately and will not cause any issue.

Similar Exceptions:

- 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
- Error opening file [file path] Could not find End Of Central Directory

No comments:

Post a Comment