HP ARPA File Transfer Protocol User's Guide (36957-90159)

28 Chapter4
Using FTP
Running the FTP User (Client) Program
Running the FTP User (Client) Program
To run the FTP client program from the CI prompt:
:RUN FTP.ARPA.SYS [; INFO=
“remotehostname”
]
or
:FTP.ARPA.SYS [
remotehostname
]
or on 5.0 and greater, if the HPPATH CI variable has ARPA.SYS in it, you can also run the
client program by:
:FTP [
remotehostname
]
From the POSIX shell you can run the client program by:
shell iX> ftp
You can start the FTP user program and connect to a remote host in one step by using the
INFO= string in the form:
:RUN FTP.ARPA.SYS;INFO=
“remotehostname”
Where
remotehostname
is the ARPA domain name, internet protocol (IP) address, or
remote host NS name.
Once the connection has been established, enter the remote user logon name and password
when prompted as described in the next section under “Logging On.
Connecting and Logging On to a Remote Host
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: