disconnect

Function

The disconnect command terminates the FTP session from the remote server and remains in the FTP client view.

Format

disconnect

Parameters

None

Views

FTP client view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
ftp-client execute

Usage Guidelines

Usage Scenario

This command terminates both control connection and data connection from the remote FTP server.

Prerequisites

Ensure no data transfer is in progress before using close command.

Configuration Impact

While executing this command, if any file transfer is in progress, server waits until the file transfer completes and then closes the connection.

Example

# Terminate the FTP session using disconnect command.
<HUAWEI> ftp 1.1.1.1
[ftp] disconnect
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >