[jira] [Created] (COMPRESS-477) Support for splitted zip files

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (COMPRESS-477) Support for splitted zip files

JIRA jira@apache.org
Luis Filipe Nassif created COMPRESS-477:
-------------------------------------------

             Summary: Support for splitted zip files
                 Key: COMPRESS-477
                 URL: https://issues.apache.org/jira/browse/COMPRESS-477
             Project: Commons Compress
          Issue Type: New Feature
          Components: Archivers
    Affects Versions: 1.18
            Reporter: Luis Filipe Nassif


It would be very useful to support splitted zip files. I've read [https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT] and understood that simply concatenating the segments and removing the split signature 0x08074b50 from first segment would be sufficient, but it is not that simple because compress fails with exception below:

{code}

Caused by: java.util.zip.ZipException: archive's ZIP64 end of central directory locator is corrupt.
 at org.apache.commons.compress.archivers.zip.ZipFile.positionAtCentralDirectory64(ZipFile.java:924) ~[commons-compress-1.18.jar:1.18]
 at org.apache.commons.compress.archivers.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:901) ~[commons-compress-1.18.jar:1.18]
 at org.apache.commons.compress.archivers.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:621) ~[commons-compress-1.18.jar:1.18]
 at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java:295) ~[commons-compress-1.18.jar:1.18]
 at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java:280) ~[commons-compress-1.18.jar:1.18]
 at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java:236) ~[commons-compress-1.18.jar:1.18]

{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)