HPlogo Installing and Managing HP ARPA File Transfer Protocol Network Manager's Guide: HP 3000 MPE/iX Computer Systems > Chapter 3 Starting FTP

Testing the FTP User Interface and Server

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Glossary

 » Index

Once you have FTP installed and running, you can test FTP in loopback mode and to a remote system.

Test in Loopback Mode

You can test FTP in loopback mode by establishing an FTP session on your local node as in the following sample session. In loopback, you are accessing and seeing responses from the MPE/iX FTP server.

Run FTP

Enter the following at the MPE/iX prompt:

FTP.ARPA.SYS

Connect and Log On in Loopback

Connect to your local node by entering the local node name. For example:

ftp> OPEN localnode

Enter a user account on your system, then the passwords when prompted:

ftp> Name (username) USERNAME.MYACCT
331 Password required for USERNAME.MYACCT [userpass] [,acctpass] [,grouppass] 		Password: (enter password)
230 USER LOGGED ON

View Local Files

List the files in the current group:

ftp> DIR
200 PORT command ok.
150 File LISTF opened; data connection will be opened
ACCOUNT = MYACCT              GROUP = MYGROUP
FILENAME   	CODE               -----------LOGICAL RECORD-------­­----
                              SIZE      TYP      EOF      LIMIT
NSCREEN1                      256B      FA       800      10000
NSCREEN2                       80B      FA       500      14000
NSPROGX PROG		                  1934W     VB      4551       9480
PROGRAMX                       256W     FB       700       1350
226 Transfer complete
nnn bytes received in n.nn seconds (n.nn Kbytes/sec)
ftp>

Transfer a File

Choose a file to transfer from you account, back to the same account with a different target name:

ftp> GET NSCREEN2 TESTFILE

Check to see that the file transfer was successful by issuing an FTP LS command:

ftp> LS
200 PORT command ok.
NSCREEN1
NSCREEN2
NSPROGX
TESTFILE
226 Transfer complete
nnn bytes sent in n.nn seconds: (n.nn Kbytes/sec)
ftp>

Exit From FTP

End the session by entering the FTP command QUIT: ftp> QUIT.

Test to a Remote System

You can follow the same steps to test FTP from MPE/iX to a remote system by using the remote system IP address (or its mode name) in the OPEN command. Responses and displays from the remote system FTP server are implementation dependent.

Feedback to webmaster