-
Notifications
You must be signed in to change notification settings - Fork 318
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
Error extracting zip larger than 4 gigabyte #71
Comments
A note: I can extract using zip4j but not with linux and windows applications. If I zip with windows or linux applications, it works normally. |
this could depend on the app you're using to extract, since with such big size |
I have used 7zip or 7z and not used unzip |
Do you have any recommendations for a program so I can do some more testing? Sorry for English' |
AFAIK 7-zip supports ZIP64 so I don't see a reason why it shouldn't work.. @srikanth-lingala any hint on this? |
No doubt that Zip64 is working in your use case. Considering the size of the zip file, asking you to provide the zip file is a bad idea. Please allow me to make it clear: |
@heberpimentel @nicolabeghin I will try to reproduce this and update the thread. We have tests here for Zip64 format, but the zip file is created and extracted by zip4j, and if I understand correctly, the issue comes when the huge zip file is created with other tools. |
@srikanth-lingala it's the opposite ... I'm generating with zip4j, and trying to extract with other programs |
Thanks for correcting me. |
Fixed in v2.2.1 |
Good Morning,
I generated a 12 gigabyte zip, and can't extract the files on windows and linux.
Depending on the size of the zip, I can extract but lose data. This from 4 gigabyte.
zipParameters = new ZipParameters();
zipParameters.setEncryptFiles(true);
zipParameters.setEncryptionMethod(EncryptionMethod.AES);
zipParameters.setAesKeyStrength(AesKeyStrength.KEY_STRENGTH_256);
zipParameters.setCompressionLevel(CompressionLevel.NORMAL);
The text was updated successfully, but these errors were encountered: