< Home

disconnect

Function

The disconnect command disconnects with the FTP server and remains in the FTP client view.

Format

disconnect

Parameters

None

Views

FTP client view

Default Level

3: Management level

Usage Guidelines

The disconnect command terminates both control connection and data connection with the remote FTP server.

Example

# Disconnect with the remote FTP server and remain in the FTP client view.

<sysname> ftp 10.1.1.1
Trying 10.1.1.1 ...
Press CTRL+K to abort
Connected to 10.1.1.1.
220 FTP service ready.
User(10.1.1.1:(none)):user1
331 Password required for user1.
Password:
230 User logged in.
[ftp] disconnect
221 Server closing.
[ftp]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >