From FTP, you must establish a connection to the remote host
you wish to access.
If you did not enter a remote host name on the command line
when you started FTP, you must open a connection to the remote system
as follows.
From the ftp> prompt, enter
the OPEN command followed by the remote host
ARPA domain name, internet protocol (IP) address, or NS node name
supplied by your network administrator:
IP Addresses |
 |
IP addresses are assigned by your network administrator to
uniquely identify computer systems to allow communication between
systems on the network.
IP addresses, also called internet addresses, are in the form:
nnn.nnn.nnn.nnn
Where nnn is a number from 000
to 255, inclusive. For example, if the IP address of the remote
system is 123.1.20.125, you would
enter:
Node Names |
 |
Besides using IP addresses with the FTP OPEN
command, you can use either an ARPA domain name or an NS node name
in the OPEN command. NS names are recognized
if the remote host supports the Probe protocol or if the remote
host name is configured in your local node network directory. ARPA
domain names are configured in two ASCII files, RSLVCNF.NET.SYS
and HOSTS.NET.SYS. For configuration
information, refer to Installing and Managing HP ARPA
File Transfer Protocol Network Manager's Guide. Obtain
the node names from your network administrator. For example, if
the name, node2, is configured
as a remote host name on your network, you can enter:
For a system identified by a fully-qualified NS nodename such
as nodex3.test.hp (in the form:
nodename.domain.organization, you can
enter:
Logging On |
 |
Once the connection has been established, enter the remote
user logon name and password when prompted.
You must know the user logon syntax for the remote host you
are accessing. For example, an HP 9000 logon name could be: myname.
You would enter the following when prompted:
Name (username) myname 331 Password required for myname. PASSWORD: (enter password) 230 User myname logged in. |
Passwords are not echoed back to your terminal screen.
Changing Accounts |
 |
To log into a different user account on the remote system,
use the USER command. After entering the user
logon name, you are prompted for any passwords associated with the
logon name:
ftp> USER myname 331 Password required for myname. PASSWORD: (enter password) 230 User myname logged in. |
Accessing Another Remote Host |
 |
After establishing a connection to a remote host, you can
access another remote host by entering the CLOSE
command, then entering another OPEN remotehostname
command: