Hi,
I am using Ionic.Zip to generate zip from C#.net
its working fine upto 1GB.
But When I want to zip the files > 1GB, its giving
"Overflow or Underflow in Arithmetic Operation" error near the "zip.save" statement below.
here is my code snippet:
foreach (ListItem li in cblFiles.Items)
if (li.Selected)
{
// Record the file that was included in readMeMessage
readMeMessage += string.Concat("\t* ", li.Text, Environment.NewLine);
// Now add the file to the ZIP (use a value of "" as the second parameter to put the files in the "root" folder)
zip.AddFile(li.Value, "Your Files");
}
// Send the contents of the ZIP back to the output stream
zip.Save(Response.OutputStream);
please help me to solve this issue, or provide me any alternative link.