CFX_Zip Sample scripts

CFX_Zip is a ColdFusion add-on that allows you to enhance your Cold Fusion applications by providing full support for industry standard ZIP files. Features include: fast zip engine, multiple actions allow you to create, read, write, and update ZIP files, full support for long file names and UNC paths, support for password protected (encrypted) ZIP files, and extraction to a CF variable.

Zip a file:
<CFX_Zip
ACTION="ZIP"
FILE="C:\inetpub\domainname\*.*"
ZIPFILE="C:\inetpub\domainname\zip\SALES.ZIP">

UnZip a file:
<CFX_Zip
ACTION="UNZIP"
DESTINATION="C:\inetpub\domainname\"
ZIPFILE="C:\inetpub\domainname\files\test.zip">

View contents of a zipped file:
<CFX_Zip
ACTION="VIEW"
NAME="ZIPINFO"
ZIPFILE="C:\inetpub\domainname\files\test.zip">

Add Feedback