CLose subcommand—Disconnect from a remote host
Purpose
Use the CLose subcommand to disconnect from the remote host and remain in FTP.
Format
Parameters
There are no parameters for this subcommand.
Usage
The FTP session remains active on your local host, but the session to the remote host is terminated. You can use the Open subcommand to establish a new session with either the same or a different remote host. If you establish a new session with the same remote host, values set by the SIte subcommand during the previous session are cleared. The remote host default values for the parameters of the SIte subcommand are used for the new session.
Context
- See Open subcommand—Connect to the FTP server for information about the Open subcommand.
- CLose can be used with the PROXy subcommand to close a secondary control connection. See PROXy subcommand—Execute FTP subcommand on secondary control connections for more information.