Extract large files using Ionic.Zip

May 6, 2014 at 10:41 AM
Extracting large files > 5GB is failing.
I am using

zip.ParallelDeflateThreshold = -1

Any suggestions?
Jul 2, 2014 at 3:12 PM
I've had this one happen to me before and have posted on it previously, but it was a long time ago and I don't have an easy link to it.

Are you using self-extracting zips? Basically it looks like you're running into the windows operating system size limitation for files. I suspect that any file greater than 4 GB will fail for you.

Depending on the OS you're using - it's been my experience that the following are true:

A 32 bit machine:
Sfx can't be greater than 2 GB
And a zip file can be no greater than 4 GB

A 64 bit machine:
Sfx can't be greater than 4 GB

Using the zip64 standard the file size can be in terabytes (don't confuse this with the 64 bit OS because they are different things). You can try the zip64 compression option and see if that works for you.