Managing the FTP Service

Before creating an FTP share, you must enable the FTP share service.

Prerequisites

The file, object, or HDFS service has been enabled.

Procedure

  1. Choose Settings > Share Settings > FTP Service.
  2. Enable the FTP service.
  3. Click Modify in the upper right corner of the page.

  4. Set FTP service parameters. Table 1 describes related parameters.

    Table 1 FTP parameters

    Parameter

    Description

    Mode

    Select a connection mode for FTP shares.

    • FTP: A client accesses shares using FTP. By default, port 21 is used for data transmission.
    • Implicit FTPS: A client accesses shares using FTPS. By default, port 990 is used for data transmission.
    • Explicit FTPS: A client needs to run the AUTH TLS/AUTH SSL command to instruct the server explicitly to initialize the corresponding secure connection. That is, the SSL-encrypted transmission function is enabled only when the explicit command is sent. Otherwise, the FTP protocol is used to access shares. By default, port 21 is used for data transmission.
      NOTE:

      The FTP mode has security risks. The FTPS mode is recommended. FTPS (FTP-SSL) is an extension to the commonly used FTP that adds support for the SSL cryptographic protocol.

      Before using the explicit or implicit FTPS mode, import an FTPS security certificate. For details, see Importing and Activating a Certificate.

    Anonymous Login

    Select whether to allow anonymous users to access shares.

    After this function is enabled, you can run the create ftp auth_type command on the CLI to configure permissions and accessible FTP shares for anonymous users so that they can access and use the shared space. For details about command parameter settings, see the Command Reference of the corresponding product version.

    NOTE:

    Allowing anonymous users to access shares may pose security risks.

  5. Click Save.