HP ARPA File Transfer Protocol User's Guide (36957-90159)
36 Chapter4
Using FTP
Transferring Remote Host files to MPE/iX
NOTE
The sequence of commands is repeated for each file transferred.
Check that the files transferred correctly:
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)
Transferring Remote Host files to MPE/iX
Use the GET command to copy a file from the remote host to your local MPE/iX system. FTP
does not delete the remote copy of the file. Enter the GET command followed by the file
name of the remote file, followed by the name of the file you want to copy to on your local
system.
ftp> GET
remotefile localfile
If you do not specify the
localfile
name, the file will be transferred with the
remotefile
name specified:
If the
remotefile
name used is not a valid file name on MPE/iX, the file transfer fails.
ftp GET
remotefile
CAUTION
If the local file name you specify already exists on your local MPE/iX system,
FTP overwrites the existing file without warning.
Default File Attributes
Files copied from the remote host to MPE/iX are saved with default file attributes as
follows:
File Type Record: size
(bytes), type
Disk Space
ASCII 80, fixed 204,800
Binary 256, fixed 204,800
BYTESTREAM 1, byte 16,384,000