Manual

Table 1 FTP Command Summary (continued)
G/OSSTypeFunctionCommand
local copy of remote file on
or off
G/OSSFile Transfer OperationCopy local file to remote
directory
send
G/OSSSession ControlsTurn use of port command
for each data connection on
or off
sendport
G/OSSRemote Session
Controls/Tools
Precedes all site-specific
commands. Table 7-2 in
site
Site-Specific Commands on
page 7-4 describes these
site-specific commands.
G/OSSSession ToolsDisplay information about
your FTP session
status
GFile Transfer ParametersSet file transfer structurestruct or stru
G/OSSFile Naming ControlTurn on or off the mechanism
for assigning unique name
to remote copy of local file
sunique
G/OSSFile Transfer ParametersSet data representation type
for TENEX machines
tenex
G/OSSToggle packet tracingtrace
G/OSSFile Transfer ParametersDisplay or set data
representation type
type
G/OSSConnections to Remote
Systems
Supply remote user name (or
user ID)
user
G/OSSSession ControlsTurn on or off the display or
responses from remote FTP
server
verbose
Connecting to a Remote System
To establish a connection to a remote system, you can either include the host name or address in
the FTP run command, or you can enter an open command at the ftp> prompt; for example, the
following command connects to a system named warehs1:
ftp> open warehs1
Before you connect to another system (unless you are using the proxy command), you must close
the current session by using either the close or disconnect command.
Logging On to a Remote System
There are three ways to log on to a remote system:
You can disable automatic logon and logon prompting by including -n in the FTP run command
and using the user command to log on after you start FTP.
You can create an entry in the FTPCSTM file that FTP can use to perform the logon operation
automatically either when you start FTP (and specify a host) or when you enter an open
command. If you use this method, you cannot include -n in the FTP run command.
If your logon default subvolume does not contain an FTPCSTM file or the FTPCSTM file does
not contain an entry for the host you specify when you connect to a remote system, FTP
prompts you for logon information. In this case, you must also omit -n from the FTP run
command.
Running FTP at a Terminal 41