HP ARPA File Transfer Protocol User's Guide (36957-90159)
Chapter 4 35
Using FTP
Transferring MPE/iX Files to the Remote Host
CAT2 80B FA 800 10000
CAT3 80B FA 900 10000
CAT4 80B FA 700 10000
Transfer this group of ASCII files to the remote system:
ftp> ASCII
200 Type set to A.
ftp> MPUT C@
mput CAT1? Y
200 PORT command okay.
150 Opening data connection for CAT1 (15.13.132.120,63014).
226 Transfer complete.
nnn bytes sent in n.nn seconds: (n.nn Kbytes/sec)
mput CAT2? Y
You are prompted whether or not (yes or no) to transfer each file in the selected group of
files.
Pressing
[Enter] at the prompt defaults to yes.To verify the files transferred:
ftp> LS C*
200 PORT command okay.
150 Opening data connection for /bin/ls -1 (123.50.42.32,50895) (0 bytes).
total nn
CAT1
CAT2
CAT3
CAT4
226 Transfer complete
nnn bytes sent in n.nn seconds (n.nn Kbytes/sec
Prompting
To transfer this group of files without prompting enabled, use the PROMPT command which
turns interactive prompting on and off:
ftp> PROMPT
Interactive mode off. (FTPINFO 42)
Using Case
MPE/iX only supports uppercase file names. You can use the CASE command to force a
group of files transferred with MPUT to lower case as follows:
ftp> CASE
Lower case on. (FTPINFO 43)
ftp> MPUT C@
200 PORT command okay.
150 Opening data connection for cat1 (15.13.132.120,63018).
226 Transfer complete.
nnn bytes sent in n.nn seconds: (n.nn Kbytes/sec)