Internet Direct (Indy)
Home
PreviousUpNext
TIdFTP.DataPortProtection Property

Indicates the level of security required for data channel connections in the FTP client.

Pascal
property DataPortProtection: TIdFTPDataPortSecurity;

DataPortProtection is a TIdFTPDataPortSecurity property that indicates the level of security required for data channel connections in the FTP client. 

DataPortProtection is used during processing in the Get and Put methods to determine the type of IOHandler required for the data channel that performs data transfer operations. 

When DataPortProtection contains the value ftpdpsPrivate, an instance of TIdSSLIOHandlerSocketBase is created during initializtion of the data channel to allow use of the SSL transport. For all other values in DataPortProtection, the default IOHandler is used for the data channel. 

The default value for DataPortProtection is Id_TIdFTP_DataPortProtection, as assigned during initialization of the component.

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.