Syntax: quit

FTP Command Index SFTP Command Index

The QUITcommand closes the connection to the server.

NOTE:When you run a script from the Windows command line using the /RFS switch and the script ends in with a QUIT command, the FTP client shuts down automatically when the script is complete.