De/Compress Action

(EFT Enterprise only) Occasionally, users might upload or download files that need to be compressed (e.g., zipped) or decompressed (e.g., unzipped) before transferring. The Compress/Decompress Action can be used to compress and decompress files. You can compress/decompress the following formats: ZIP, 7Zip, GZip, BZip2, Tar, Tar and GZIP, and ZCompress.

The source and destination file path specifications are limited to physical paths only – virtual paths will not work for these fields.

To ensure maximum compatibility with third-party archival tools, Unicode passwords should be avoided.

To compress or decompress files using Event Rules

  1. Add the Event to the Event Rule (e.g., File Downloaded).

  2. Add any (optional) Conditions.

  3. Add the De/Compress file to/from target file Action.

  4. Click any links in the Action to open the Compress/ Decompress Action dialog box.

  5. In the Action list, click the desired Action: Compress or Decompress.

  6. In the Format box, specify the format in/from which to compress or decompress the file: ZIP, 7Zip, GZip, BZip2, Tar, Tar and GZIP, and ZCompress.

  7. If the Compress Action is specified, in the Method list, specify the Method: Deflate or PPMd.

  8. If the Compress Action is specified, in the Level list, specify a level of compression to apply, from 0 - fastest to 6 - densest.

  9. If the Decompress Action is specified, the Method and Level lists are unavailable.

  10. In the Files area, specify the Source and Destination paths. (As noted above, only physical paths should be specified; virtual path will not work.)

    • Select the variable drop-down list (percent sign %) to specify a context variable. You can specify more than one and use wildcards, as shown in the examples.

    • Select the folder icon to browse to a folder.

  11. In the Options area, the Overwrite options (Never, Always, If Newer) are available when the Decompress Action is specified.

  12. Select the check boxes to specify whether to Include subfolders (for Compress Action), Overwrite read-only files (for Decompress Action), and/or Remove source files after decompressing or compressing the file.

  13. If encryption is desired, select the Encrypt check box and then specify and confirm the password. Select the Show check box to see if you've entered the password correctly.