When you configure a file ingestion and replication task, you can define file-processing actions, such as compress, decompress, encrypt, and decrypt to be performed before transferring the files. You can also scan files for viruses.
You can perform the following file-processing actions on the files that the file ingestion and replication task transfers:
•Compress. Uses one of the following methods to compress files: Zip, Tar, Bzip2, or Gzip. The file ingestion and replication job compresses files and flattens the file structure in the target directory. Passwords can be used to protect Zip files.
•Decompress. Uses one of the following methods to decompress compressed files: Unzip, Untar, Bunzip2, or Gunzip. The file ingestion and replication job decompresses files and flattens the file structure in the target directory. Passwords can be used to protect Unzip files.
•Encrypt. Uses the Pretty Good Privacy (PGP) method to encrypt files. The file ingestion and replication job encrypts files and flattens the file structure in the target directory. The Gnu Privacy Guard (GPG) method is compatible with the PGP method to encrypt files.
•Decrypt. Uses the PGP method to decrypt files. The file ingestion and replication task decrypts files and flattens the file structure in the target directory. The GPG method is compatible with the PGP method to decrypt files.
•File Operations. Perform operations on files, such as flatten or rename files in the target directory. Flattening might result in the loss of files if files with the same file name exist in different folders. The session log displays the overridden files.
•Virus scan. Identifies viruses and malware in the files that the file ingestion and replication job transfers by using the Internet Content Adaptation Protocol (ICAP). The ICAP server scans the files and sends a response code of 200 when the scan does not identify any virus in the files. The file ingestion and replication job fails when the scan detects a virus.
Note: The file ingestion and replication task does not flatten the file structure if you do not configure any action.
The file ingestion and replication job performs the file-processing actions in the order you configure them in the task definition.
For example, you want to compress and encrypt files prior to transferring them from a local repository to an FTP server.
In this scenario, add the following file processing actions:
1Compress with an action type of Zip.
2Encrypt with an action type of PGP.
You can add multiple file processing actions to a file ingestion and replication task. You can drag and drop the order of the file processing action.