Connecting to a remote system, Logging on to a remote system – HP Integrity NonStop H-Series User Manual
Page 41

Table 1 FTP Command Summary (continued)
G/OSS
Type
Function
Command
local copy of remote file on
or off
G/OSS
File Transfer Operation
Copy local file to remote
directory
send
G/OSS
Session Controls
Turn use of port command
for each data connection on
or off
sendport
G/OSS
Remote 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/OSS
Session Tools
Display information about
your FTP session
status
G
File Transfer Parameters
Set file transfer structure
struct or stru
G/OSS
File Naming Control
Turn on or off the mechanism
for assigning unique name
to remote copy of local file
sunique
G/OSS
File Transfer Parameters
Set data representation type
for TENEX machines
tenex
G/OSS
Toggle packet tracing
trace
G/OSS
File Transfer Parameters
Display or set data
representation type
type
G/OSS
Connections to Remote
Systems
Supply remote user name (or
user ID)
user
G/OSS
Session Controls
Turn 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