Transferring a file from a Connect:Direct node

You can transfer a file from a Connect:Direct® node to a WebSphere® MQ File Transfer Edition agent by using the Connect:Direct bridge. You can specify a Connect:Direct node as the source of the transfer by specifying the Connect:Direct bridge agent as the source agent and specifying the source specification in the form connect_direct_node_name:file_path.

Before you begin

Before transferring a file, you must configure the Connect:Direct bridge, which is a component of WebSphere MQ File Transfer Edition. See Configuring the Connect:Direct bridge.

About this task

In this example, the Connect:Direct bridge agent is called CD_BRIDGE. The Connect:Direct bridge agent must be version 7.0.4 or later. The destination agent is called FTE_AGENT and can be any version of WMQFTE. The source Connect:Direct node is called CD_NODE1. The file to be transferred is located at the file path /home/brian/in.file on the system where CD_NODE1 is located. The file is transferred to the file path /files/out.file on the system where FTE_AGENT is running.

Procedure

Use the fteCreateTransfer command with the value for the source specification in the form connect_direct_node_name:file_path and the value of the -sa parameter specified as the name of the Connect:Direct bridge agent.
Note: The Connect:Direct node specified by connect_direct_node_name is the node that you want the file to be transferred from, not the Connect:Direct node that operates as part of the Connect:Direct bridge. For example:
fteCreateTransfer -sa CD_BRIDGE -da FTE_AGENT 
                  -df /files/out.file CD_NODE1:/home/brian/in.file
For more information, see fteCreateTransfer (create new file transfer).

Results

The Connect:Direct bridge agent CD_BRIDGE requests the file from the Connect:Direct node CD_NODE1. The Connect:Direct node sends the file to the Connect:Direct bridge. While the file is being transferred from the Connect:Direct node, the Connect:Direct bridge stores the file temporarily in the location defined by the cdTmpDir agent property. When the file has finished transferring from the Connect:Direct node to the Connect:Direct bridge, the Connect:Direct bridge then sends the file to the destination agent FTE_AGENT and deletes the file from the temporary location.

Task Task

Feedback

Timestamp icon Last updated: Tuesday, 30 January 2018
http://www.ibm.com/support/knowledgecenter/SSEP7X_7.0.4/com.ibm.wmqfte.doc/cd_to_fte_simple.htm