File Compression Task
The File Compression task allows you to compress files located on the Windows file system or on FTP or SFTP file servers. You can use the File Uncompression Task to extract files from a compressed archive.
Currently the task supports the ZIP compression standard.
After a File Compression task executes, detailed information about the file operation can be found in the Job Detail Log.
Job Variables
This task creates the following Job Variables, which are available for the remainder of the job:
| Variable | Description |
| FileOperationTask.ProcessedFileCount | The number of messages successfully processed by the task |
| FileOperationTask.ErrorMessages | Contains any error messages reported by the task |
| FileOperationTask.SucceededFiles | Contains a comma-delimited list of all the files that were successfully processed |
| FileOperationTask.FailedFiles | Contains a comma-delimited list of all the files for which errors were reported |