--- title: "ZipDirectoryResponse" slug: "zip-directory-response" updated: 2026-08-06T13:25:18Z published: 2026-08-06T13:25:18Z canonical: "docs.lobstersoftware.com/zip-directory-response" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # ZipDirectoryResponse ## Description **Class name:** com.ebd.hub.datawizard.customresp.ZipDirectoryResponse **Configuration:** Path to properties configuration file in field "Additional parameters". Creates a ZIP file (with and without password) from file system files. **NOTE:** The class only uses the files specified in the parameters as input. The content of the Response itself is ignored. ## Parameters | Parameter | Description | | --- | --- | | dir.delete | If *true*, the top-level directory of the files specified in property *path*.*pattern* is deleted. Default: *false*. **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. Default: *true*. **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. Default: *true*. | | path.pattern | Path and file pattern (see [File names, file patterns, paths, placeholders](/v1/docs/en/intro-concepts-files-names-patterns)) of the files to be packed. | | reuse.data | If *false*, the data generated by the Response will not be returned. Use the default setting here, since a zip file is written directly to a directory anyway and this setting also prevents an *OutOfMemoryException* from being generated for very large amounts of data. Default: *false*. | | 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. Default: *true*. | ## Example | Parameter | Value | | --- | --- | | dir.delete | true | | files.delete | true | | folder.include | true | | path.pattern | ./conf/pack/*.txt | | reuse.data | false | | target.zip | @var__zip@ | | zip.excludePattern | .* | | zip.password | secret | | zip.password.aes256 | true | The response determines how a profile sends processed data. In Phase 6, a response determines how and where the output data is sent or stored, e.g., via FTP, HTTP or e-mail. A profile can use several responses in parallel. Procedure for obfuscating passwords in configuration files. Obfuscation is not secure encryption, but it prevents the easy reading of plaintext passwords. Obfuscated values start with OBF and can be generated and decrypted via the admin console or script.