CFZip has been in ColdFusion since CF8 but it was only for unencrypted zip files. ColdFusion Splendor brings password protection to CFZip with multiple encryption methods. 2 new attributes have been added to CFZip and CFZipParam to support this functionality.


EncryptionAlgorithm  <Standard, AES-128,  AES-256 (default)>



cfzip(action="zip", file="C:\ZipTest\", source="C:\ZipTest\sample.txt", password="pass");

cfzip(action="list", name="zipFileList", file="C:\ZipTest\");

cfzip(action="unzip", file="C:\ZipTest\", destination="C:\ZipTest\", password="pass", overwrite="true");

More examples here.

0 Comments to “CFZip Enhancements in ColdFusion Splendor”

Leave a Comment

Leave this field empty: