HPlogo HP ARPA File Transfer Protocol User's Guide > Chapter 4 Using FTP

Connecting and Logging On to a Remote Host

MPE documents

Complete PDF
Table of Contents
Index
Glossary

E0300 Edition 6 ♥
E1098 Edition 5

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:

  ftp> OPEN remotehostname

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:

  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




Running the FTP User (Client) Program


Performing Directory Operations