File Processing Rules
Last updated
Last updated
File Processing Rules related to the Actor are managed in the Connection Contracts tab → File Processing Rule option.
Here, you can both view the file processing rules already associated with the selected Actor and create new rules by following these steps:
Click the NEW FILE PROCESSING RULE button.
In the New file processing rule window, fill in these fields:
Name and Description of the rule.
File pattern: specify to which files the File Processing Rule will be assigned. By default: . (all files).
File resources: refer to the page for details.
Virtual boxes: select one of the listed Virtual Boxes or create a new one by clicking View All → New VirtualBox.
Set the file processing rule as default (optional) to apply it to all paths when selected for the Contract. Remember! You must configure at least one of these two options: File Resource or Virtual Box!
When done, click Confirm to save. The newly created rule will be added to the list of Rules.
Whenever a File Processing Rule is needed, it must be associated with the Virtual Path to be used. Therefore, the File Pattern can be used to filter the files where the File Processing Rules will be applied, or it can be left generic, and the File Processing Rules will be applied to each file within the Virtual Path.
You can set the File Processing Rule as default by checking the box at the top of the window.
To better describe the usage guidelines for File Processing Rules, these are some sample use cases:
Data Mover receives a file through SFTP and saves it in DATA format Configuration of File Resource:
mime remote = text/plain
charset local = 819
mime local = text/plain (or null)
charset local = 819 (or null)
Data Mover receives and saves a file through PR4 with PGP encrypted Configuration of File Resource:
secure remote = NONE
secure local = PGP
Data Mover receives an uncompressed file through PR4, with compressed saving in Data Mover Configuration of File Resource:
compression type remote = null
compression type local = SPZIP
Data Mover receives a compressed file through PR4, with compressed save in Data Mover Configuration of File Resource:
compression type remote = SPZIP
compression type local = SPZIP
Data Mover has an uncompressed file and sends it compressed through PR4 Configuration of File Resource:
compression type remote = null
compression type remote = SPZIP