With the Unzip operation of the ZIP Converter, you decompress the provided input at the defined storage location. Password-protected files can also be decompressed.
Parameters
|
|
Directory path to the file to be compressed/decompressed. Note: If you do not set this parameter, the file is provided via the adapter input. In this case, you must define a value for the Possible values: Directory path |
|
|
Directory path to the location where the output is to be stored ("Target directory"). Note: If this parameter is not set, the file is supplied via the adapter output. Possible values: Directory path |
|
|
Specifies whether to overwrite existing files with the same name. Possible values:
Notes if the checkbox is selected (
Notes if the checkbox is deselected (
|
|
|
Specifies whether to merge existing files with the same name. Possible values:
Notes if the checkbox is selected (
Notes if the checkbox is deselected (
|
|
|
Name of the input file. Used when the Possible values: File name of the file to be received as input or issued as output. |
|
|
Specifies whether encrypted data are to be processed in the operation. The Possible values:
|
|
|
Password for encrypted files. Possible values: Any string |
|
|
Specifies which encryption method is used when zipping if Possible values:
|
|
|
Specifies which compression algorithm is used when zipping. Possible values:
Notes on the
Note on the This value is useful when sending/receiving multiple data/folders and the file size can be neglected. No time is required for packaging. |
|
|
Specifies the compression algorithm when zipping if the Possible values:
|
Status values
|
|
The adapter operation was executed successfully |
|
|
The operation failed due to a technical error. |
Input
Depending on the configuration of the sourcePath parameter, the adapter expects different input.
-
If the
sourcePathparameter is not set, the adapter expects a ZIP file as the input to be unzipped. -
If the
sourcePathparameter is set, the ZIP file is unpacked in thesourcePathand the adapter does not expect any specific input.
Output
Depending on the configuration of the targetPath parameter, the adapter returns different output.
-
If the
targetPathparameter is not set, an XML file containing the contents and structure of the ZIP file is output encoded in Base64.
The XML has the following structure:<?xml version="1.0" encoding="UTF-8" ?> <Zip> <File size="209" name="testToZip.xml">PD94bWwgdmVyc2lvgj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPFJvb3RFbGVtZW50P</File> </Zip>
Note:
Unpacking in this way can be very resource-intensive, depending on the size of the extracted ZIP file.
-
If the
targetPathparameter is set, the adapter does not issue an output, and the contents of the ZIP file are stored in the location specified as the directory path.