HP 3000 Manuals

How FTP Transfers Files [ HP ARPA File Transfer Protocol User's Guide ] MPE/iX 5.0 Documentation


HP ARPA File Transfer Protocol User's Guide

How FTP Transfers Files 

Files can be transferred with FTP in ASCII mode and in binary (IMAGE)
mode.

ASCII Transfers 

FTP ASCII file transfers are used primarily for the transfer of ASCII
text files.  The actual data transfer occurs in 8-bit NVT-ASCII
representation.  The receiver converts the data from the standardized
transfer form to the desired target form according to the target system's
internal representation requirements.  The end-of-record (EOR) for ASCII
transfers is represented by a carriage-return followed by a line-feed.

For the MPE XL FTP implementation, ASCII data transfers are used when
data is transferred in FTP ASCII mode to or from an MPE XL file of the
ASCII file type.

Binary (IMAGE) Transfers 

FTP IMAGE type, commonly called binary transfer type is used for
efficient storage and retrieval of files and for the transfer of binary
data.  The data is sent in a contiguous stream of 8-bit transfer bytes.
The receiver is required to store the data as contiguous bytes.

For the MPE XL FTP implementation, binary data transfers are used when
data is transferred in FTP binary mode to or from a MPE XL file of the
binary file type.  There is no end-of-record designator for binary
transfers.

MPE XL File Type vs.  FTP Transfer Type 

Do not confuse MPE XL file types with FTP file transfer types.  Using
BUILD command parameters, the only MPE XL file type supported is STD.

MPE XL files with an ASCII or binary attribute are specified as part of
the BUILD command REC= parameter.



MPE/iX 5.0 Documentation