Internet Direct (Indy)
Home
PreviousUpNext
TIdFTP.TransferMode Method

Specifies the transmission mode for the data channel.

Pascal
procedure TransferMode(
    ATransferMode: TIdFTPTransferMode
);
Parameters 
Description 
ATransferMode 
Transfer mode for the connection. 

TransferMode is a procedure used to implement support for the FTP MODE command. 

TransferMode sends the FTP MODE command using the character representation of the TIdFTPTransferMode value specified in ATransferMode as an argument. 

TransferMode has no effecet if the client is not Connected

When TransferMode contains the value dmDeflate, the object instance in Compressor is used perform "deflate" or "MODE Z" compression and decompression during data transfers in Get and Put

Use TransferType to indicate if the data transfer is for ASCII or binary data.

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.