I am able to unzip the files using the same code, but for the files above 65MB it is generating overflow error in ZipFile.Read
I have written the code:
using Ionic.Zip;
private void UnzipFile()
{
using (ZipFile zip = ZipFile.Read(currentFilePath))
{
zip.ExtractAll(target_file_path, ExtractExistingFileAction.OverwriteSilently);
}
}
But getting overflow error:
Ionic.Zip.ZipException
HResult=0x80131500
Message=Cannot read that as a ZipFile
Source=Ionic.Zip
StackTrace:
at Ionic.Zip.ZipFile.ReadIntoInstance(ZipFile zf)
at Ionic.Zip.ZipFile.Read(String fileName, TextWriter statusMessageWriter, Encoding encoding, EventHandler`1 readProgress)
at Ionic.Zip.ZipFile.Read(String fileName)
Inner Exception 1:
OverflowException: overflow while creating filename
User contributions licensed under CC BY-SA 3.0