-
Notifications
You must be signed in to change notification settings - Fork 12
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
Unable to unzip archives 4GB or greater in size (Zip64 Issue) #17
Comments
Did some more digging, it seems like once a zip reaches a certain size that it becomes unable to be opened. |
Ok so it looks like 4gb is the "certain size"... this seems like it might be an issue with how this lib handles zip64 based files. @alvises reading the readme it sounds like you were originally a big help in getting the encoding built, is there any tips you might have that would be me fix this issue? Thanks! |
This test exists packmatic/test/packmatic/packmatic_test.exs Line 170 in 2774fb9
|
I think something similar like this might be required? Touffy/client-zip#34 |
@pnicholls I wrote the encoding engine. Will investigate, it can either be a macOS issue, or more likely, indeed an issue within Packmatic and its emitted headers. |
AppNote states, regarding the compressed/uncompressed sizes, https://pkware.cachefly.net/webdocs/APPNOTE/APPNOTE-6.2.0.txt,
Packmatic always used placeholder and emitted an additional Zip64 Extended Information extra field for the files. I agree, this can be changed, so if the file size is within the expressible range then it should also be emitted here. Whether to omit Zip64 header however is another story. I remember a similar issue detected on earlier releases of macOS. |
By the way OTP 27.1 adds support for:
|
I have stumbled on a strange bug that I am not even sure how to start debugging so I thought I'd throw up an issue.
I have a largish (9.7GB) packmatic created zip which contains a bunch of images that will not open if the file is clicked in finder however if the file is automatically launched from Safari once the download is compete then it has no problem unzipping the file.
Sorry about such a vague issue, I would be more than happy to send the zip over to someone or do anything else to help debug this one, just let me know.
Thanks for the great package btw.
The text was updated successfully, but these errors were encountered: