commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (Jira)" <>
Subject [jira] [Work logged] (COMPRESS-477) Support for splitted zip files
Date Mon, 28 Oct 2019 08:19:00 GMT


ASF GitHub Bot logged work on COMPRESS-477:

                Author: ASF GitHub Bot
            Created on: 28/Oct/19 08:18
            Start Date: 28/Oct/19 08:18
    Worklog Time Spent: 10m 
      Work Description: PeterAlfreadLee commented on issue #84: COMPRESS-477 Add support for
extracting splitted zip files
   I just pushed the code of adding support for splitted zip in `ZipArchiveInputStream`.
   I didn't change much. Just skip the markers here
   Sample code for usage guide:
   File lastFile = getFile("COMPRESS-477/split_zip_created_by_zip/");
   // build the input stream by just concatenating the splitted zips together
   SeekableByteChannel channel = ZipSplitReadOnlySeekableByteChannel.buildFromLastSplitSegment(lastFile);
   InputStream inputStream = Channels.newInputStream(channel);
   ZipArchiveInputStream splitInputStream = new ZipArchiveInputStream(inputStream);
   ArchiveEntry entry;
   while((entry = splitInputStream.getNextEntry()) != null) {
       // read from ZipArchiveInputStream
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

Issue Time Tracking

    Worklog Id:     (was: 334811)
    Time Spent: 1h 50m  (was: 1h 40m)

> Support for splitted zip files
> ------------------------------
>                 Key: COMPRESS-477
>                 URL:
>             Project: Commons Compress
>          Issue Type: New Feature
>          Components: Archivers
>    Affects Versions: 1.18
>            Reporter: Luís Filipe Nassif
>            Priority: Major
>              Labels: zip
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
> It would be very useful to support splitted zip files. I've read [] 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: archive's ZIP64 end of central directory locator
is corrupt.
>  at
>  at
>  at
>  at<init>(
>  at<init>(
>  at<init>(
> {code}

This message was sent by Atlassian Jira

View raw message