cfzipparam
8
3

Overview ColdFusion Open BlueDragon Lucee

Provides additional information to the cfzip tag. The cfzipparam tag is always a child tag of the cfzip tag.

Attributes

Name Required Type Default Description
8
3
charset No String Converts string content into binary data before putting it into a ZIP or JAR file. Used only when cfzip action="zip" and the cfzipparam content is a string. Examples of character sets are: JIS RFC1345 UTF-16 (optional, default=encoding of the host machine)
8
3
content No String Content written to the ZIP or JAR entry. Used only when cfzip action="zip". Valid content data types are binary and string. If you specify the content attribute, you must specify the entrypath attribute. (optional)
11
encryptionAlgorithm No String AES-256 Encryption algorithm to be used to encrypt the files when a password is given
8
3
entrypath No String Pathanme used: For cfzip action="zip", it is the entrypath used. This is valid only when the source is a file. The entrypath creates a subdirectory within the ZIP or JAR file. For cfzip action="unzip", it is the pathname to unzip. For cfzip action="delete", it is the pathname to delete from the ZIP or JAR file. (optional)
8
3
filter No String File filter applied to the action. For example, for the zip action, all the files in the source directory matching the filter are zipped. (optional)
4
filterdelimiters No Optional when passing a filter pattern. This value is used as a delimiter for the patterns. Default is the pipe "|" character.
newpath No Use this path inside the ZIP archive instead of the relative path of the SOURCE
11
password No String Password with which to archive the files
8
3
prefix No String String added as a prefix to the ZIP or JAR entry. Used only when cfzip action="zip". (optional)
8
3
recurse No Boolean Recurse the directory to be zipped, unzipped, or deleted, as specified by the cfzip parent tag. (optional, default=yes)
8
3
source No String Source directory or file. Used only when cfzip action="zip". Specified file(s) are added to the ZIP or JAR file: If you specify source attribute for the cfzip tag, the cfzipparam source is relative to it. If you do not specify a source attribute for the cfzip tag, the cfzipparam source must be an absolute path. (optional)