HP ARPA File Transfer Protocol User's Guide (36957-90159)
52 Chapter5
Using the FTP Server
Sample FTP Session: Accessing MPE/iX
150 File LISTF opened; data connection will be opened
AFILE.GROUP1
TSCREEN.GROUP1
TSCREEN2.GROUP1
NSPROG1.GROUP1
NSPROG2.GROUP1
NSPROG3.GROUP1
NPROGRAM.GROUP1
226 Transfer complete
nnn bytes received in n.nn seconds (n.nn Kbytes/sec)
ftp>
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:
ftp> BINARY
200 Type set to l.
ftp> GET NPROGRAM.GROUP1
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:
ftp> MGET @
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:
ftp> MGET N@.GROUP1
The resulting file names are:
NSPROG1.GROUP1
NSPROG2.GROUP1
NPROGRAM.GROUP1
Transfer a File from Your System to MPE/iX
Transfer a local file to the MPE/iX working group using the PUT command.
ftp> PUT yfile xfile
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