Internet Direct (Indy) Version 9.0.2 Beta
TIdFTP.Quit
Closes the FTP client connection.

procedure Quit;
Description
Quit is a procedure used to close a user connection to the FTP server when a file transfer operation is not in progress. Quit closes the control channel for the FTP client. An application should call Abort, when a file transfer is in progress, prior to calling the Quit method.