Manipulates ZIP and JavaTM Archive (JAR) files.
In addition to the basic zip and unzip functions, use the cfzip tag to delete
entries from an archive, filter files, read files in binary format, list the
contents of an archive, and specify an entrypath used in an executable JAR file.
<cfzip>
cfzip();
zip
delete
list
read
readBinary
unzip
zip
JIS
RFC1345
UTF-16
true
false
true
false
true
false
true
false
Uses action="unzip"
in the cfzip tag to unzip into the temp directory.
<cfzip action="unzip" destination="#getTempDirectory()#" file="#zipFilePath#">
Uses action="unzip"
in the cfzip tag to unzip into the temp directory.
cfzip(action="unzip", file="zipFileName", destination=getTempDirectory());
Uses action="list"
in the cfzip tag to list the zip contents.
cfzip(action="list", file="zipFileName", name="zipList");
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.