HP ARPA File Transfer Protocol User's Guide (36957-90159)

Chapter 6 63
MPE/iX File System and Data Transfers
File Transfer Examples
Figure 6-1. ASCII Transfer
Mixed Mode Transfer
If you transfer an ASCII type file in binary mode, you may not be able to retrieve the file in
its original form as pictured in Figure 6-2., “Mixed Mode Transfer,”.
An MPE/iX ASCII file, AFILE, transferred to the UNIX system using FTP binary transfer
mode results in a file of contiguous data on the UNIX system. Note that record structure is
not maintained in binary transfers.
(1)
ftp> binary
ftp> put afle yyfile
When the user tries to retrieve the file using file building parameters
(rec=-80,1,v,ascii), the file is retrieved as one record (since the total amount of data is
less than 80 bytes).
(2)
ftp> binary
ftp> get yyfile yyfile;rec=-80,1,v,ascii