Page 1 of 1

Zip File with password

Posted: May 4th, 2021, 9:02 pm
by emdisala
Dear All,

Zip File with password

Is there a way to put a strong password with compress function

Code: Select all

i = compress(zip_file_name, input_file_list ‖ input_file_name);
Thank you

Disala

Re: Zip File with password

Posted: May 5th, 2021, 8:29 am
by Gregory Martin
Unfortunately we use an open source library for the compression routines and that library does not support passwords. Once CSPro 8.0 comes out, you will be able to compress the file and then store it in an encrypted CSPro DB file, but there isn't a good solution until that point. If you are using Windows, you could use execsystem to launch an application to zip a file with a password.

Re: Zip File with password

Posted: May 5th, 2021, 11:28 pm
by emdisala
Dear Martin

Thank you for your information

Disala