Internet Direct (Indy)
Home
PreviousUpNext
TIdFTP.Quit Method

Closes the FTP client connection.

Pascal
procedure Quit;

Quit is a procedure used to close the connection to the FTP server when a file transfer operation is not in progress. Quit closes the control channel for the FTP client. 

Quit sends the FTP QUIT command when the connection to the remote FTP server is currently opened. If the client is not currently connected, the QUIT command is omitted. 

Quit calls the Disconnect method to close the control channel connection for the FTP client. 

An application should call Abort, when a file transfer is in progress, prior to calling the Quit method.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.