-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't read Windows native zip file #49
Comments
Thank you for the issue. Yes, Deflate64 is currently unsupported. There is no codec package that supports Deflate64 right now. I think p7zip_jll supports Deflate64, so maybe there could be an option added to allow There is also https://github.com/madler/zlib/blob/master/contrib/infback9/infback9.h which could be made into a jll package in Yggdrasil but this C code is not officially supported it seems. This is the method used by https://github.com/brianhelba/zipfile-deflate64 Another option is to fork https://github.com/GunnarFarneback/Inflate.jl and patch it to work with Deflate64, as I think Deflate and Deflate64 are very similar. For testing, would you happen to know if there is any good documentation of Deflate64 or any example files to test against? |
I found some unofficial documentation in https://libzip.org/specifications/appnote_iz.txt |
For future reference, I found an example file in https://github.com/dotnet/runtime-assets/tree/c185f58a7f75bd824a3cd820634cddf27e791d91/src/System.IO.Compression.TestData/ZipTestData/compat as well as in https://github.com/anatawa12/deflate64-rs |
This post on discourse seems to suggest that, yes, 7z could help solve this: https://discourse.julialang.org/t/file-zipping-taking-longer-for-large-files/115963/2?u=timg |
I created a WIP package to fix this: |
Thank you! |
Windows native zip files use a method called Deflated 64. ZipArchive cannot read these files:
It would be good to be able to read Windows native zip files.
The text was updated successfully, but these errors were encountered: