CLose subcommand—Disconnect from a remote host

Purpose

Use the CLose subcommand to disconnect from the remote host and remain in FTP.

Format

Read syntax diagramSkip visual syntax diagramCLose

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