Page 1 of 1

Compress with password

Posted: June 26th, 2024, 7:17 am
by YFT_CBSD
Hi can i compress a zip file with a password? is this possible? thanks

Re: Compress with password

Posted: June 26th, 2024, 9:01 am
by Gregory Martin
Our Zip creation library does not support encrypting files. Depending on your needs, you could:

1) Zip the file to a temporary unencrypted file using compress.
2) Use an Encrypted CSPro DB file to store that file (using the Document.load function to load it from the temporary file).