[BigZip] Files bigger than 4 GB

[BigZip] Files bigger than 4 GB

Forge Component
Published on 2017-10-30 by Carlos Alfaro
9 votes
Published on 2017-10-30 by Carlos Alfaro
I've used the Ionic.Zip library in the past and a problem I had was when creating zip files bigger than 4GB.

In that case an compression option was needed:

ZipFile zipFile = new ZipFile()
zipFile.UseZip64WhenSaving = Zip64Option.AsNecessary;

In your code I can see you're using the default value for that option, which is "Never". 

This means that if someone tries to create a file bigger than 4GB it will fail.

Not a great issue, but still here's the remark.

Than you.
Hi Carlos,

Thank you for your great suggestion, I've already uploaded a new version with it :-)