-
Notifications
You must be signed in to change notification settings - Fork 15
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
zip64 format #8
Comments
note to self:
|
Could it be the reason why zip file downloaded on windows can't be extracted with default |
possible |
I started to look into this too. FYI I found this graphical overview of zip32 and zip64, which seems to make it easier to understand. would love to see this in streamsaver or this library! |
Some feedback from implementing this in client-zip : the above article was helpful to some extent but not entirely appropriate for a streaming implementation. What seems to work is to
and then, if after streaming the file data you find it's bigger than 4GB, or the total current size of the stream is bigger than 4GB,
finally, if any file was larger than 4GB or the central repository offset is larger than 4G
The one thing I couldn't figure out is the "version needed to read" field in file header. Since we're streaming, we can't know in advance whether the file will be readable by just version 2 or at least 4.5. So I write 4.5 all the time. The ZIP readers I've tried my files on don't mind. |
Was there any progress on this? |
Write zip's as zip64 format to support larger files then 4gb
The text was updated successfully, but these errors were encountered: