Internet Direct (Indy)
Home
PreviousUpNext
TIdFTPTransferType Enumeration

Indicates the the data representation used in FTP transfers.

Pascal
TIdFTPTransferType = (
  ftASCII,
  ftBinary
);

TIdFTPTransferType is an enumerated type that indicates the the data representation used in FTP transfers. TIdFTPTransferType includes the following values and meanings: 

 

Value 
Meaning 
ftASCII 
ASCII (7 bit) file transfers 
ftBinary 
Binary (8 bit) file transfers 

 

ftASCII indicates that certain data transformations may be performed when the data storage representations in the two systems are different. It generally indicateds that it is desirable to convert characters into the standard NVT-ASCII representation when transmitting text between dissimilar systems. The sending and receiving sites would have to perform the necessary transformations between the standard representation and their internal representations. 

ftBinary is used when the data representation includes binary data (not character codes) between host systems with different word lengths. It should be noted that FTP provides for very limited data type representations. Transformations desired beyond this limited capability should be performed by the user directly. 

TIdFTPTransferType is the type used to represent the TIdFTP.TransferType property.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.