Minimum Transfer Parameters

You must supply at least the following parameters when you run the cfsend or cfrecv command.

Parameter (Alternate Specification) Description
LocalFileName (lf) Defines the name of the local file you want to transfer.
Node or IPName/IPAddress

Defines the destination host.

Password (pwd) Defines the password for the remote user ID.

This password is used by the remote system to validate if the user has credentials to access the remote file. We suggest defining UserID and password credentials in a user profile and not on the cfsend/cfrecv command line.

Note: Do not define this field when using User Profiles.

RemoteFileName (rf) Defines the name of the file or data set at the remote location.

Note: When specifying the remote file name on a command line:
  • Platform Server for Windows will automatically convert slash (/) to a backslash (\). So, you can define file names using slashes and the slashes will be converted to backslashes as needed.
  • If you use a member name, such as in a data set transfer to a mainframe system, you must enclose the entire data set in double quotation marks (""). Otherwise, you must use backslashes before the parentheses (()).

UserId (uid) Defines the remote user ID for the file transfer. We suggest defining User ID and password credentials in a user profile and not on the cfsend/cfrecv command line.

Note: Do not define this field when using User Profiles.
For Windows security systems, you can use the format domain\\username or domain/username.