You can transfer a file from a Managed File Transfer
agent to a Connect:Direct® node using the Connect:Direct bridge. Specify a Connect:Direct node as the destination of the transfer by specifying
the Connect:Direct bridge agent as the destination agent
and specifying the destination file 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 Managed File Transfer. For more information, see Configuring the Connect:Direct bridge.
About this task
In this example, the Connect:Direct bridge agent
is called CD_BRIDGE. The source agent is called FTE_AGENT and can be any version of WMQFTE. The
destination Connect:Direct node is called CD_NODE1. The
file to be transferred is located at the file path /home/helen/file.log on the
system where FTE_AGENT is located. The file is transferred to the file path
/files/data.log on the system where CD_NODE1 is running.
Procedure
- Use the fteCreateTransfer command with the value for the -df (destination
file) parameter in the form connect_direct_node_name:file_path and
the value of the -da (destination agent) 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 to, not the Connect:Direct node that
operates as part of the Connect:Direct
bridge.
fteCreateTransfer -sa FTE_AGENT -da CD_BRIDGE
-df CD_NODE1:/files/data.log /home/helen/file.log
For
more information, see
fteCreateTransfer: start a new file transfer.
-
The source agent FTE_AGENT transfers the file to the Connect:Direct bridge agent CD_BRIDGE. The file is temporarily
stored on the system where the Connect:Direct bridge agent
is running, in the location defined by the cdTmpDir agent property. The Connect:Direct bridge agent transfers the file to the Connect:Direct node CD_NODE1.