Start FTP from your system.
Connect to the Remote MPE/iX System |
|
To open a connection to MPE/iX use the OPEN
command followed by the internet protocol (IP) address for the MPE/iX
system. For example:
220 MPE/iX File Transfer Protocol Server [A00020001] (C) Hewlett-Packard Co. 1990 |
Log On to MPE/iX |
|
Supply the MPE/iX logon account and password when prompted,
or use the USER command. For example:
ftp> USER sess1,user,myacct,mygroup |
331 Password required for SESS1,USER.MYACCT,MYGROUP [userpass] [,accountpass][,grouppass] |
Password: userpass,acctpass,grouppass (enter passwords) |
Check the Session and Group |
|
Check the session and group you are accessing. This example
shows the user logged on with the working group, MYGROUP.
257 "MYACCT/MYGROUP" is the current directory. |
257 "SESS1,USER.MYACCT,MYGROUP" is the current session. |
View Files in the Working Group |
|
Examine the files in the working group using the FTP DIR
command:
150 File LISTF opened; data connection will be opened |
ACCOUNT = MYACCT GROUP = MYGROUP |
FILENAME CODE -----------LOGICAL RECORD----------- |
NSCREEN1 256B FA 800 10000 |
NSCREEN2 80B FA 500 14000 |
NSPROGX PROG 1934W VB 4551 9480 |
PROGRAMX 256W FB 700 1350 |
nnn bytes received in n.nn seconds (n.nn Kbytes/sec) |
Transfer a File to Your System |
|
Transfer a remote MPE/iX file to your system using the GET
command:
150 File NSCREEN1 opened; data connection will be opened |
nnn bytes received in n.nn seconds (n.nn Kbytes/sec) |
The file will be saved as nscreen1 on you system.
View Files in a Different Group |
|
Examine the files in another group using the LS
command with the group name:
150 file LISTF opened; data connection will be opened<R> AFILE.GROUP1 |
nnn bytes sent in n.nn seconds: (n.nn Kbytes/sec) |
Note that this display is different than using the LS
command with no group name which displays only file names.
Transfer a File From Another Group |
|
Transfer a binary file from MPE/iX to your system from other
than the current working group:
The MPE/iX file will be saved as NPROGRAM.GROUP1
on your system.
Transfer Multiple Files from MPE/iX to Your System |
|
To transfer multiple files from MPE/iX to your system use
the MGET command:
All files in the working group will be transferred and have
the same names as on MPE/iX (up to 8 alphanumeric characters, all
capitals).
Transfer multiple files from other than the working group
on MPE/iX to your system.
The resulting file names are:
Transfer a File from Your System to MPE/iX |
|
Transfer a local file to the MPE/iX working group using the
PUT command:
Use File Building Parameters |
|
Transfer a local file to other than the MPE/iX working group,
using MPE/iX file building parameters:
ftp> PUT file2 newfile.group1;rec=-78, ,f,ascii |
Transfer multiple ASCII files to MPE/iX using the MPUT
command:
If
your system supports prompting, you are prompted whether or not
(yes or no) to transfer each file in the selected group of files.
Check that the files transferred:
150 File LISTF opened; data connection will be opened |
ACCOUNT = MYACCT GROUP = MYGROUP |
FILENAME CODE -----------LOGICAL RECORD----------- |
AFILE123 80B FA 800 104800 |
AFILE1234 80B FA 800 104800 |
AFILENAM 80B FA 800 104800 |
AFILEXX 80B FA 800 104800 |
nnn bytes received in n.nn seconds (n.nn Kbytes/sec) |
If the file names are longer than eight characters, the file
transfer fails. Note that all files were saved with the default
FTP ASCII file attributes: records of fixed length and 80 bytes.
More Information About FTP and MPE/iX |
|
This section describes in more detail MPE/iX logon syntax
and file system behavior when using FTP.
MPE/iX User Accounts |
|
MPE/iX user logon accounts are in the form:
ftp> USER sessname,username.acctname,groupname |
The sessionname parameter (sessname)
is optional. Passwords may be required for all three parts of the
user account:
userpass,accountpass,grouppass |
You can enter the user logon account and passwords together
as follows:
ftp> USER session1,username/userpass.acctname/acctpass,groupname/grouppass |
Press the return key when prompted for passwords.
The following example shows: no session, and a password for
the account only:
ftp> USER myname.myacct/acctpass |
331 Password required for MYNAME.MYACCT/ACCTPASS [userpass] [,accountpass][,grouppass] |
257 "MYACCT/MYPUB" is the current directory. |
257 ",MYNAME.MYACCT,PUB" is the current session. |
Groups |
|
An MPE/iX user account can contain many groups, each containing
files. A group is comparable to a directory, but only to one level.
Unlike UNIX systems, the MPE/iX file system is not hierarchical.
The MPE/iX account manager can assign a default group for
a user account. For example, the user account MYNAME.ARPACCT
is assigned a default group PUB (with no group password). The user
logon is as follows:
ftp> USER MYNAME/userpw.ARPACCT/acctpw |
331 Password required for MYNAME/USERPW.ARPACCT/ACCTPW [userpass] [,accountpass][,grouppass] |
257 "MYACCT/MYGROUP" is the current directory. |
257 ",MYNAME.ARPACCT,PUB" is the current session. |
Changing Groups |
|
To change groups you CD as follows:
257 "MYACCT/MYGROUP1" is the current directory |
257 ",MYNAME.MYACCT, GROUP1" is the current session |
250 CWD file action successful |
257 "MYACCT/GROUP2" is the current directory |
257 ",MYNAME.MYACCT, GROUP1" is the current session |