< Home

ftp server enable

Function

The ftp server enable command enables the FTP server function to allow FTP users to log in to the FTP server.

The undo ftp server command disables the FTP server function so that FTP users cannot log in to the FTP server.

By default, the FTP function is disabled.

Format

ftp [ ipv6 ] server enable

undo ftp [ ipv6 ] server

Parameters

Parameter Description Value
ipv6 Specifies the IPv6 FTP server. -

Views

System view

Default Level

3: Management level

Usage Guidelines

To manage FTP server files on a client, you must run the ftp server enable command to enable the FTP server function to allow FTP users to log in to the FTP server.

If the FTP server function is disabled, no user can log in to the FTP server, and users who have logged in to the FTP server cannot perform any operation except logout.

The FTP protocol compromises device security. SFTP V2 or FTPS mode is recommended.

After the ftp server enable command is run, the device receives login connection requests from all interfaces by default. Therefore, there are security risks. You are advised to run theftp server-source command to specify the source interface of the FTP server.

Example

# Enable the FTP server function.

<HUAWEI> system-view
[HUAWEI] ftp server enable
Warning: FTP is not a secure protocol, and it is recommended to use SFTP.
Info: Succeeded in starting the FTP server.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >