Compress a file or folder

Updated at:

1. Component overview

Note

Prerequisites: None

Use this component to compress a file or a folder.

2. Inputs

Note

For more information about each input, see the help text for the component in the application flow editor.

3. Outputs

Note

For more information about each output, see the help text for the component in the application flow editor.

4. Component usage example

4.1. Configuration example

  1. In the Compress Object section, select the "Folder" radio button.

  2. Set Path of folder to compress to "D:\data\test".

  3. Set Compression mode to Normal.

  4. Leave the Password field empty.

  5. Set Save path for compressed file to "D:\data\test.zip".

  6. Set If a file with the same name exists in the destination path to Skip.

  7. Keep the default values for the advanced options.

4.2. Example result

After the flow runs successfully, you can view the execution results in the log panel. The following figure shows an example.

image