MPE/iX FTP Server Commands [ 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
MPE/iX FTP Server Commands
The quick reference on page 4-7 provides a list of the FTP user commands
a remote FTP user accessing MPE/iX can use. The corresponding MPE/iX FTP
server commands are in parentheses.
User command (SERVER command) DESCRIPTION
ASCII (TYPE A) Sets the FTP file transfer type to ASCII.
This is the default when you first enter
FTP.
BINARY (TYPE I) Sets the FTP file transfer type to binary.
CLOSE (QUIT) Closes the remote connection but remains in
the FTP program.
DELETE remotefilename (DELE) Deletes the remote file specified. A
directory path may be included with the
remotefilename
DIR [ remotedirectory] [ localfile] (LIST) Writes the requested remote directory
listing to the terminal, or to a local file
if specified. If remotedirectory is not
included, the current remote working
directory contents are listed.
FORM [NONPRINT] (FORM) Sets the FTP file transfer form to the
specified format. The only supported form
is NONPRINT.
GET remotefile [ localfile] (RETR) Transfers the remote file specified to a
local file. If a local file name is not
specified, the file is saved with the same
name as the remote file name (assuming a
legal file name).
LS [ remotedirectory] [ localfile] (NLST) Displays the contents of a remote
directory, one file per line. If a
localfile name is specified, the listing
will be saved to the file specified. If
remotedirectory is not included, the
current remote working directory contents
are listed.
MDELETE remotefiles (NLST,DELE) The remote system expands the wildcard
characters in remotefiles and deletes the
set of files on the remote MPE/iX host.
MGET remotefiles (NLST, RETR) The remote system expands the wildcard
characters in remotefiles and retrieves the
set of files from the remote host
MODE [STREAM] (MODE) Sets the FTP file transfer mode to the
specified mode. The only supported mode is
STREAM.
Table 4-0. (cont.)
User command (SERVER command) DESCRIPTION
MPUT localfiles (NLST,STOR) The local system expands the wildcard
characters in localfiles and transfers the
set of files from the local host to the
remote MPE/iX system
OPEN remotehostname Opens a connection to the remote host
specified.
PUT localfile [remotefile][;buildparms] Transfers a local file to a file on the
(STOR) remote MPE/iX system. Build parameters may
be used to change how the file is stored on
MPE/iX. If the remote file name is not
specified, the file is saved with the local
file name provided the local file name is a
valid name on the remote MPE/iX system.
PWD (PWD) Displays the name of the remote working
directory on the terminal. On MPE/iX, this
corresponds to the current session, logon
account and group. For example:
"SESSNAME,USER.ACCT,GROUP".
QUIT (QUIT) Closes the connection to the remote system
and exits from FTP.
REMOTEHELP [ servercommand] (HELP) Displays the remote host (MPE/iX) FTP
server commands supported. If a server
command is specified with the REMOTEHELP
command, a brief description of the command
is displayed.
RENAME remotefile newname (RNFR,RNTO) Renames a remote file.
STRUCT [FILE] (STRU) Sets the FTP file transfer structure to the
specified structure. The only supported
structure is FILE.
TYPE [transfertype] (TYPE) Sets the FTP file transfer type to the
specified type. The supported transfer
types are ASCII and BINARY.
USER sess,user.acct,group (USER) Used to enter a logon name in order to
establish a session on the remote host. A
connection to the remote host must already
have been established using OPEN.
Passwords may be included in the logon
string as follows:
sess,user/userpass.acct/acctpass,group/grppass
Note: Passwords can only be entered once.
If you enter passwords with the logon
string, do not re-enter them at the
password prompt, just press the Return key.
If you enter passwords as part of the logon
string, they are displayed in the message
text of the password prompt.
FTP Architecture
This section describes the FTP architecture and the overall network
architecture for a system that includes FTP.
Figure 4-1 shows the FTP client-server model. The FTP commands and
replies are the messages and errors you can receive as described in
Appendix A.
Over the data connection, files and directory information are
transferred. Data is transferred in a defined format. (See Chapter 6 in
this manual.) Once the data has been received, it is converted to the
file system supported by the receiving system.
Figure 4-1. FTP Client-Server Model
Figure 4-2 shows the network architecture for an installation including
FTP over TCP/IP Ethernet/802.3 LAN and an X.25 wide area network.
The MPE/iX FTP implementation consists of the FTP monitor process which
returns errors in the jobstream output (see Appendix A for possible
errors returned).
To troubleshoot network problems, you can refer to Figure 4-2 to
determine logging and tracing required. See the NETCONTROL command in
the NS3000/XL Operations and Maintenance Manual for information on
starting, stopping, status, and tracing the lower level protocols and
NIs.
Figure 4-2. Network Architecture
MPE/iX 5.0 Documentation