ZipDirectoryResponse

Group

Custom Classes Phase 6

Class Name

com.ebd.hub.datawizard.customresp. ZipDirectoryResponse

Function

Creates a ZIP file from file system files.

Configuration File

sample_zip_directory_response.properties

Description

Creates a ZIP file (with and without password) from file system files. The path to the configuration file is specified in field Additional parameters. Note: The class only uses the files specified in the parameters as input. The content of the Response Route itself is ignored.

Parameter Description

Parameter Name

Description

dir.delete

If true, the top-level directory of the files specified in property path.pattern is deleted. Note: The deletion of directories is not checked, because it might fail, for example, because another process already inserts new files, or the directories are not empty, because property zip.excludePattern was used.

files.delete

If true, the packed files and subdirectories are deleted. Note: The deletion of directories is not checked, because it might fail, for example, because another process already inserts new files, or the directories are not empty, because property zip.excludePattern was used.

folder.include

If true, subfolders (and included files) in the directory of the specified files will be included in the ZIP file.

path.pattern

Path and file pattern of the files to be packed.

target.zip

Path and name of the ZIP file to be created.

zip.excludePattern

File pattern of the files that should not be packed into the ZIP file. Note: Explicitly specified file names do not work. The specification test.txt would not work, *est.txt however would.

zip.password

Optional password for the ZIP file. Obfuscation is allowed.

zip.password.aes256

If true, AES-256 is used, otherwise, AES-128.

Example

images/download/attachments/34216681/Property_Editor_3_EN-version-1-modificationdate-1554781696000-api-v2.png