Configured Postprocessing
With this feature, you can configure postprocessing actions for all transfers.
After a transfer is completed, TIBCO MFT Platform Server searches a configuration file containing the commands and the associated parameters. If the properties of the transfer match the parameters, then the command is triggered. This offers greater flexibility than user exits through the use of parameters and argument substitution.
If any redirecting is done, on the initiator side the redirecting goes to the directory from which the cfsend command is used. On the responder side, it goes to the directory from which CyberResp is running.
TIBCO MFT Platform Server installs a sample configured post processing file named CfgPostProc.cfg in the $CFROOT/config directory.
See the following table for the required parameters:
Parameter | Description |
---|---|
SUBMIT | Identifies the start of the parameters. |
COMMAND |
Defines the command you want to execute. |
Parameter | Description |
---|---|
TYPE | Defines the type of the file transfer request.
The valid values are SEND, RECEIVE, or BOTH. |
SOURCE | Defines the source of the file transfer request.
The valid values are INITIATOR, RESPONDER, or BOTH. |
STATUS | Defines whether a transfer request is successful or unsuccessful.
The valid values are SUCCESS, FAILURE, or BOTH. |
FILENAME or DSN | Defines the absolute path of the local file name.
It is compared against the local file name in the file transfer request. |
PROCESS | Defines the process name associated with the transfer request.
The maximum length of the defined value is 8 characters. |
IPADDR | Defines the IP address of the machine that communicates with TIBCO® Managed File Transfer Platform Server for UNIX. |
NODE | Defines the node name in the transfer request.
For initiator requests, this parameter is used when the NODE parameter is used in a transfer request. For responder requests, the program scans the list of nodes for matches on the IP address. These entries are then matched against the value specified in this NODE parameter. |