Manual
- s local IP Address
turns on the feature of specifying a local IP address for the FTP client.
- k
turns on the feature of sending TCP Keep-Alive probes on the client side control connection.
host
identifies the remote host system. You can specify host as a host name or host internet address.
See Addressing Remote Hosts on page 1-5 in Section 1, Introduction to TCP/IP Applications
and Utilities, for information about specifying host names and addresses.
If you do not specify host, you must use the open command to connect to a remote host
system.
The following command starts FTP, turns on verbose mode, turns off interactive prompting, and
establishes a connection to a host system named warehs1:
TACL 5> ftp -v -i warehs1
NOTE: Ask your system manager for the name of an appropriate TCP/IP process to serve as
your transport service provider.
Considerations for choosing an appropriate process are:
After you enter the FTP command to start an FTP session and, optionally, log on to a remote host,
FTP displays the prompt:
ftp>
You can enter any of the FTP client commands to perform file operations.
In addition to specifying options when you start FTP, you can enter them at the ftp> prompt. Each
option except -n has a corresponding command that also turns the toggle on or off. The options
and corresponding toggle commands are:
-v verbose
-d debug
-i prompt
-g glob
Table 1 summarizes the FTP commands organized by function. A detailed description of each
command is given in the upcoming section, “FTP Command Reference”.
Table 1 FTP Command Summary
G/OSSTypeFunctionCommand
OSSEscape to shell!
G/OSSSession ToolsExecute macro$
G/OSSSession ToolsRequest local help
information
?
OSSConnections to Remote
Systems
Supply remote account
password
account
G/OSSFile Transfer OperationAppend local file to remote
file
append
G/OSSFile Transfer ParametersSet ASCII transfer typeascii
GFile Transfer ParametersAllows FTP to receive lines
longer than 239
aslinemode
characters—user can specify
cut, wrap, or none (do
nothing) to long ascii lines
38 FTP—Transferring Files