zip4j icon indicating copy to clipboard operation
zip4j copied to clipboard

add deflate64 (deflate enhanced) support

Open bmlong137 opened this issue 2 years ago • 2 comments
trafficstars

This will allow decompression of large ZIPs created by Windows. It adds Apache's commons-compress as a dependency (the only dependency for this project) to do the work. If that is an issue and licenses are compatible, we could reproduce the implementation. However, including commons-compress could be an avenue for more broad algorithm support.

It will not compress ZIPs using deflate64. Oddly, I couldn't find that capability in commons-compress. It instead throws a ZipException.

bmlong137 avatar Nov 22 '23 17:11 bmlong137

@bmlong137 I have looking for the opend solution for deflate64 and even an algorithm description to implement it myself, but also have not succeeded.

oleg-cherednik avatar Dec 14 '23 03:12 oleg-cherednik

For the record, this change adds support for the decompression of deflate64 ZIPs; just not compression of them.

bmlong137 avatar Dec 19 '23 15:12 bmlong137