Indicates the port number to use when binding the data channel for the FTP client session.
property DataPort: Integer;
DataPort is an Integer property that indicates the port number to use when binding the data channel for the FTP client session.
The default value for the DataPort property is 0 (zero), and indicates that the data port is assigned when the data channel connection is bound.
DataPort is used in internal processing for both the Get and Put methods to create a data channel that actively listens for a server connection (when Passive contains False). FTP clients will send the FTP PORT command, or the PBSZ and PROT commands when UsingExtDataPort indicates extended port protection features are enabled for the server.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.