QUIT (End an FTP Server Session)

FTP server subcommand

The FTP server subcommand QUIT logs off the client user and closes the control connection. If a file transfer is in progress, the connection remains open until the file transfer is complete, and then the server closes it.

QUIT

Related reference
File Transfer Protocol server syntax conventions