The sample project contains four processes that show how to use the plug-in to transfer files.
Prerequisites
Configure the MFT Shared Connection shared resource based on your working environment, as described in
Configuring MFT Shared Connection.
Complete the following tasks before running the processes. See the TIBCO Managed File Transfer Command Center documentation for more information.
Process
Prerequisites
DownloadMsgToQueue
Compete the following tasks:
Create a JMS queue on the TIBCO EMS server. In this sample, the Demo.MSG.Queue queue is used.
Complete the following tasks in TIBCO Managed File Transfer Command Center:
Add an Internet server and name it as TIBDemoIS.
Create an Internet transfer definition with the TIBDemoDownloadQueue virtual alias on the TIBDemoIS Internet server. Set the value of the
Directory Transfer property to
No, and the value of the
Transfer Direction property to
Download.
UploadFile
Complete the following tasks in TIBCO Managed File Transfer Command Center:
Add an Internet server and name it as TIBDemoIS.
Create an Internet transfer definition with the TIBDemoUploadFile virtual alias on the TIBDemoIS Internet server. Set the
Directory Transfer property to
Yes, and the
Transfer Direction property to
Upload To Server.
InitialReceiveRequest
Add a platform server and name it as TIBDemoPS in TIBCO Managed File Transfer Command Center.
OverrideTransferFiles
Complete the following tasks in TIBCO Managed File Transfer Command Center:
Add a platform server and name it as TIBDemoPS.
Create a platform transfer definition on the TIBDemoPS platform server.
Procedure
In the Project Explorer view, open the process that you configured.
Click
Run > Run Configurations.
The
Run Configurations window opens.
In the left panel, expand
BusinessWorks Application, and then click
BWApplication.
In the right panel, ensure that the
FileTransferSample.application check box is selected in the
Applications tab.