< Home

ftp server enable

Function

The ftp server enable command enables the FTP server function on a device, allowing FTP users to log in.

The undo ftp server command disables the FTP server function on a device, preventing FTP users from logging in.

By default, the FTP server function is disabled.

Format

ftp [ ipv6 ] server enable

undo ftp [ ipv6 ] server

Parameters

Parameter Description Value
ipv6 Indicates the IPv6 FTP server. -

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

To ensure that users can remotely manage files on the local, run the ftp server enable command to enable the FTP server function, allowing the FTP users to log in.

Configuration Impact

  • After the FTP server function is enabled, users can manage files in FTP mode.
  • After the FTP server function is disabled, users cannot log in to the FTP server. The login users can perform only the quit operation.

Precautions

The FTP protocol poses a security risk, and therefore the SFTP protocol is recommended.

Example

# Enable the FTP server.

<sysname> system-view
[sysname] ftp server enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >