Transfer Commands
You can use the cfsend and cfrecv command to perform various file transfers.
TIBCO MFT Platform Server supports the following types of file transfers:
Use the cfsend or cfrecv command along with transfer parameters and specified options to perform transfers. For more information on transfer parameters, see Transfer Parameters.
To simplify your transfer commands, you can also use nodes (as well as profiles and distribution lists with nodes) and templates.
- Using nodes, you can predefine a remote location in a node before performing a transfer. This can save you from typing repetitive location information. For more information, see Transfer Using Nodes. You can also create profiles and distribution lists with created nodes.
- Using profiles, you can define credentials to use when the configured user initiates a transfer to the configured node. For more information, see Transfer Using Profiles.
- Using distribution lists, you can perform file transfers to multiple locations. For more information, see Transfer Using Distribution Lists.
- Using templates, you can configure all the transfer information in a template file before performing a transfer. For more information, see Transfer Using Templates.
Note: In a
cfsend or
cfrecv command, if you use a node or a template and also specify transfer parameters on a command line, the parameters specified on a command line take higher precedence over nodes and templates.
You can add special characters after the cfsend or cfrecv command to define transfers in different circumstances:
- To run the command in the background, add an ampersand (&) at the end of a command.
- To ignore log off before the command is completed, add
nohup
before a command. - To send the screen output to a specified file, add
> logFilePath >2&1
at the end of the command.
Subtopics