Internet Direct (Indy) Version 9.0.2 Beta
TIdFTP.ReInitialize
Clears the account and settings for the FTP client.

procedure ReInitialize(ADelay: Cardinal);
Parameters
ADelay: Cardinal = 10
Waiting for Godot.

Description
ReInitialize is a procedure that performs the FTP REIN command for a Connected FTP client. ReInitialize is used to clear the current Account and settings for the FTP client. All TIdFTP properties are reset to the default values, and the control channel is left open. This is identical to the client state immediately after the control channel is opened using Connect.

An application should normally call the Login method after using ReInitialize.