Item name | Required/Optional | Use of Variables | Description | Remarks |
---|---|---|---|---|
Name | Required | Not available | Enter the name on the script canvas. |
Item name | Required/Optional | Use of Variables | Description | Remarks |
---|---|---|---|---|
Path to compress | Required | Available | Enter the path to compress a file or directory.
Click [Browse] button to activate the file Selectr and Select the file. |
|
Output to | Required | Available | Enter the path to the destination to output file or directory.
Click [Browse] button to activate the file Selectr and Select the file. If you specify a directory path, the compressed file name will be "${directory name}.zip". |
|
Item name | Required/Optional | Use of Variables | Description | Remarks |
---|---|---|---|---|
Encoding | Optional | Available | Select or specify an encoding of a file or a directory to be zipped.
Use only the canonical name supported by Java SE Runtime Environment 8 when specifying the encoding directly in the field. ![]() |
|
Error when file already exists at output destination | Optional | Not available | Select whether to raise error if compressed file/directory already exists in the compressing destination.
|
Item name | Required/Optional | Use of Variables | Description | Remarks |
---|---|---|---|---|
Encrypt zip file | Optional | Not available | Select if encrypt the zip file or not.
|
|
Password | Optional | Available | Specify a password to encrypt. |
|
Confirm password | Optional | Available | Specify a password to encrypt for confirmation. |
|
Encryption type | Optional | Not available | Select the encryption type.
|
|
Item name | Required/Optional | Use of Variables | Description | Remarks |
---|---|---|---|---|
Comment | Required | Not available | You can write a short description of this adapter. The description will be reflected in the specifications. |
Variable name | Description | Remarks |
---|---|---|
success | Wither success or failure of the process is stored. |
|
message_category | Stroes the category to which corresponding message code belongs to, when an error occurs. |
|
message_code | Stores its corresponding message code of occured error. |
|
message_level | Stores the severity of the corresponding message code of the occured error. |
|
error_type | Stores the type of the occured error. |
|
error_message | Stores the error message for the occured error. |
|
error_trace | Stores stack trace of the occurred error. |
|
Exception name | Cause | Solution |
---|---|---|
InvalidPropertyConfigurationException
<Property name> is not specified. |
[<Property name>] is not specified. | Specify the [<Property name>]. |
FileExistsException | The specified file exists on the destination. | Check the [Path to compress] or the [Output to]. |
java.io.FileNotFoundException | The specified file or directory not found. | Check the [Path to compress] or the [Output to]. |
PathIsNotAbsoluteException | The specified path is a relative path. The path only accepts an absolute path. | Specify an absolute path for the [Path to compress] or the [Output to]. |
ZipOperationException
Password is not specified. |
The [Password] to encrypt is not specified. | Specify the [Password]. |
ZipOperationException
Passwords do not match. |
The [Password] and the [Confirm password] do not match. | Specify the same password to the [Password] and the [Confirm password]. |