Topic Path: Symbol Reference > Classes > TIdFTP Class > TIdFTP Properties > DataPortProtection Property
ContentsIndexHome
PreviousUpNext
TIdFTP.DataPortProtection Property

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

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.

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