Dart Ftp Control
TransferModeConstants Enumeration
Description

Enumerates the transfer modes used for file transfers. See RFC 959 for more details.

When the ftpTransferMode command is sent as part of the Retrieve or Store method, that transfer mode is used by all subsequent data transfers until changed. The ftpTransferMode command is only sent when necessary.

Members
MemberValueDescription
ftpBlock1BLOCK mode. The file is transmitted as a series of data blocks 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, thus marking the beginning of the next data block (there are no filler bits). The descriptor code defines: last block in the file (EOF), last block in the record (EOR), restart marker, or suspect data.
ftpCompressed2COMPRESSED mode. The COMPRESSED mode transfers compressed data. This mode uses a simple run-length compression algorithm.
ftpStream0The data is transmitted as a stream of bytes. There is no restriction on the representation type used; record structures are allowed. This is the default value.

PowerTCP FTP for ActiveX Documentation Version 2.2
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic