Working with the Sample Project

The FileTransferSample project shipped with the plug-in demonstrates how to use the plug-in to transfer files.

The sample project is located in the TIBCO_HOME/bw/palettes/mft/version_number/samples directory.

The sample project contains two process folders: InternetTransfer and PlatformTransfer. Each folder contains two processes.

InternetTransfer

The processes in the InternetTransfer folder demonstrate how to use the Request Internet Server Transfer and Wait for Internet Server Completion activities to transfer files using the Internet server.

  • DownloadMsgToQueue

    In this process, the TIBDemoIS Internet server downloads a file from a remote server to the Demo.MSG.Queue JMS queue on the TIBCO EMS server.

    Note: The remote server and the file are defined in the transfer definition in TIBCO Managed File Transfer Command Center.
  • Uploadfile

    In this process, the TIBDemoIS Internet server uploads the ISLocalFile.txt file to a remote server. The name for the uploaded file is ISTargetFile.txt on the remote server.

    Note: The remote server is defined in the transfer definition in TIBCO Managed File Transfer Command Center.

PlatformTransfer

The processes in the PlatformTransfer folder demonstrate how to use the Request Platform Server Transfer and Wait for Platform Server Completion activities to transfer files across platforms.

  • InitialReceiveRequest

    In this process, the TIBDemoPS platform server receives the SourceFile.txt file from a responder server to the PSLocalFile.txt file on a initiator server.

    This process uses the Ad Hoc definition. Modify the definition in the Input tab of the Request Platform Server Transfer activity based on your working environment.

  • OverrideTransferFiles

    This process demonstrates how to override the values of a predefined transfer definition properties. In this process, the values of the InitiatorFileName and ResponderFileName properties are overridden by their corresponding values specified in the Input tab of the Request Platform Server Transfer activity.