Compress ZIP
Operation name
Compress ZIP
Function overview
Compresses a file or directory into a ZIP file.
Properties
For details on use of variables, refer to Variables.
Basic settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Name |
Required |
Not available |
Enter a name that is used on the script canvas. |
|
Required settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Path to compress |
Required |
Available |
Enter the path of the file or directory to compress. The Browse button launches a file chooser that allows you to select a file. |
Note
|
Output to |
Required |
Available |
Enter the path to the output destination for the file or directory. The Browse button launches a file chooser that allows you to select a file. If you specify a directory path, the compressed file name will be "${directory name}.zip". |
Note
|
Option
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Encoding |
Optional |
Available |
Select or specify an encoding of the file name or directory name to be compressed. When you enter encoding, specify one of the encodings supported in Java SE Runtime Environment 8. = Remarks =
For details, refer to "Supported Encodings" (http://docs.oracle.com/javase/8/docs/technotes/guides/intl/encoding.doc.html). |
|
Error when file already exists at output destination |
Optional |
Not available |
Select whether to raise an error when the compressed file or directory already exists in the compressing destination.
|
|
Encryption
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Encrypt zip file |
Optional |
Not available |
Select whether to encrypt the zip file or not.
|
|
Password |
Optional |
Available |
Specify a password to use for encryption. |
|
Confirm password |
Optional |
Available |
Specify the password to use for encryption again. |
|
Encryption type |
Optional |
Not available |
Select the encryption type.
|
|
Comment
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Comment |
Required |
Not available |
You can write a short description of this connector. |
|
Schemas
Input schema
None.
Output schema
None.
Transaction
Transaction isn't supported.
Parallel Stream Processing
PSP isn't supported.
Available component variables
Variable name |
Description |
Remarks |
---|---|---|
success |
The result of the operation is stored. |
|
message_category |
When an error occurs, the category of the message code corresponding to the error is stored. |
|
message_code |
When an error occurs, the code of the message code corresponding to the error is stored. |
|
message_level |
When an error occurs, the severity of the message code corresponding to the error is stored. |
|
error_type |
When an error occurs, the error type is stored. |
|
error_message |
When an error occurs, the error message is stored. |
|
error_trace |
When an error occurs, the trace information for the error is stored. |
|
Message codes, exception messages, and limitations
Connector |
Message code |
Exception message |
Limitations |
---|---|---|---|