Thanks Discipulus, finally, i am able to extract the content by IO::Uncompress::Unzip module. it does works really fine. Thank you once again.. hence, i am closing the thread.
| [reply] |
Coming to this late, but if the zip file can be read by IO::Uncompress::Unzip but not by Archive::Zip, then it is likely to be one of the following things
1 - The archive uses Zip64
Usually used when the archive is >4Gig, but can sometimes be always set by some programs that write zip files. Archive::Zip doesn't support Zip64 yet, but IO::Uncompress::Unzip does.
2 - The central directory of the zip file is corrupt.
Archive::Zip needs the central directory in the zip file to be present and valid. The approach I take with IO::Uncompress::Unzip doesn't actually use the central directory at all. This one is unlikely.
Without seeing the file I suspect it is Zip64.
Paul
| [reply] |