Executing Internet Server File Transfer as a Post Processing Action

By using post processing actions, you can define up to four actions to be completed by the responding server when a file transfer request is completed.

If you have TIBCO MFT Internet Server installed, you can use this function to execute an MFT Internet Server Command Line Client command as a post processing action (PPA). The advantage of doing this is that you can perform a file transfer and then execute for instance, a file transfer command line utility command within a single step. See TIBCO Managed File Transfer Internet Server Command Line Utilities Guide for more information about Internet Server Command Line Client.

Note: Internet Server Command Line Client must be installed and configured on the system where the file transfer runs.

When using PPA to initiate an MFT Internet Server Command Line Client command or any command for that matter, it is good practice to get the command running successfully in batch mode first. For this example, first use the file transfer command for Internet Server Command Line Client to ensure that the request is executed successfully. After the command is run successfully, you can add it as a PPA request.

Assume that you want to upload a file to TIBCO MFT Internet Server, and after that file transfer request is completed, you want to launch a script that uses Internet Server Command Line Client to send that file to another MFT server.

You first make sure your Internet Server command ran successfully from a batch job by testing it; see the following example (the file name is UploadScript.cmd):

cd InternetCommandLine
call setutilcp
java cfcc.CFInternet a:ProcessFile Description:UploadToAIX

After the command is tested, add the script to a post processing action in your TIBCO MFT Command Center transfer definition.

After that, each time this transfer request is run, this PPA starts upon the success of the file transfer.