HP ARPA File Transfer Protocol User's Guide (36957-90159)
Chapter 4 29
Using FTP
Connecting and Logging On to a Remote Host
ftp> OPEN 123.1.20.125
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:
ftp> OPEN node2
For a system identified by a fully-qualified NS nodename such as nodex3.test.hp (in the
form:
nodename.domain.organization
, you can enter:
ftp> OPEN nodex3.test.hp
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:
ftp> CLOSE
ftp> OPEN
remotehostname