The PDF file is cut off when I archive

Hi,
we are use this version Aspose.Zip 22.10.0.

When I package a PDF file, it gets cut off.
So I get an error when I try to pen a file from an archive.
PDF files up to 5mb work correctly.

Examle
using (FileStream zipFile = File.Open(dataDir + “CompressWithTraditionalEncryption_out.zip”, FileMode.Create))
{
using (FileStream file1 = File.Open(dataDir + “1.pdf”, FileMode.Open, FileAccess.Read))
{
using (var archive = new Archive(new ArchiveEntrySettings(null, new TraditionalEncryptionSettings(“test”))))
{
archive.CreateEntry(“1.pdf”, file1);
archive.Save(zipFile);
}

        }
    }

This happens because of limilations of trial version .
If you want to test Aspose.ZIP without evaluation version limitations, you can request a 30 Day Temporary License.

Thanks!
Connected the license and it worked.