Hi There, When Archiving file is corrupted when the size is more than 5 MB. If it is less than 5MB file seems working as expected. File size is cutting off when it is more than 5MB. For 20 MB file i see 5MB once unzip. Please find below code.
using Aspose.Zip;
using Aspose.Zip.Saving;
Console.WriteLine("Hello, World!");
Archive archive = new Archive(new ArchiveEntrySettings(encryptionSettings: new TraditionalEncryptionSettings("12345")));
// Add files to the archive
//archive.CreateEntry("Test.xlsx", "C:\\Temp\\Test.xlsx");
archive.CreateEntry("Test.xlsx", "C:\\Temp\\smallFIle.xlsx");
// save the archive
archive.Save("C:\\Temp\\password_protcted.zip");