QUIT
Syntax: quit
The QUIT command 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.