Topic Path: Symbol Reference > Classes > TIdFTP Class > TIdFTP Methods > TransferMode Method
ContentsIndexHome
PreviousUpNext
TIdFTP.TransferMode Method

Specifies the transmission mode for the data channel.

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.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.