HP 3000 Manuals

Testing the FTP User Interface and Server [ Installing and Managing HP ARPA File Transfer Protocol Network Manager's Guide ] MPE/iX 5.0 Documentation


Installing and Managing HP ARPA File Transfer Protocol Network Manager's Guide

Testing the FTP User Interface and Server 

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.

1.  Run FTP.   

Enter the following at the MPE/iX prompt:

     :FTP.ARPA.SYS 

2.  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

3.  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>

4.  Transfer a File.   

Choose a file to transfer from your 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
     PROGRAMX
     TESTFILE
     226 Transfer complete
     nnn bytes received in n.nn seconds (n.nn Kbytes/sec)
     ftp>

5.  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 node name) in the OPEN
command.  Responses and displays from the remote system FTP server are
implementation dependent.



MPE/iX 5.0 Documentation