Internet Direct (Indy) Version 9.0.2 Beta
TIdFTP.Create
Constructor for the object instance.

constructor Create(AOwner: TComponent); override;
Parameters
AOwner: TComponent
Owner of the object instance.

Description
Create constructs a properly initialized instance of TIdFTP using the inherited Create constructor. Create initializes Port to the constant value IdPORT_FTP (Decimal 21) as required by the File Transfer Protocol.

Create also sets the default values for properties including Passive (Id_TIdFTP_Passive), and TransferType (Id_TIdFTP_TransferType). Create allocates resources required for the LoginMsg and WelcomeMsg properties.