Zip File with password

Discussions about CSEntry
Forum rules
New release: CSPro 8.0
Post Reply
emdisala
Posts: 26
Joined: March 16th, 2021, 12:30 pm

Zip File with password

Post 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
Gregory Martin
Posts: 1777
Joined: December 5th, 2011, 11:27 pm
Location: Washington, DC

Re: Zip File with password

Post 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.
emdisala
Posts: 26
Joined: March 16th, 2021, 12:30 pm

Re: Zip File with password

Post by emdisala »

Dear Martin

Thank you for your information

Disala
Post Reply