FTP supports the following transmission modes:
Stream mode
A file is transferred as a stream of bytes. In the file structure, the sender terminates the data connection by indicating end-of-file (EOF). In the record structure, a dedicated two-byte control code is used to identify the record and file ends.
Block mode
A file is transmitted as a series of data blocks. Each block is preceded by one or more header bytes. The header bytes contain a count field and descriptor code. The count field indicates the total length of the data block in bytes. The descriptor code defines the last block in the file (EOF), last block in the record (EOR), restart marker (marker to identify error recovery and restart), or suspect data.
Compressed mode
The same bytes sent consecutively are compressed.
On HUAWEI NetEngine 8000 F Series, FTP supports the stream mode only.