change service ftp
Format
change service ftp { anonymous_access_switch=? | anonymous_max_connection=? | client_max_connection=? | max_connections=? | onymous_max_connection=? | running_status=? | idle_time=? | anonymous_homedir=? | fxp_enabled=? | buffer_size=? | anonymous_upload=? | client_charset=? | umask=? | ftps_model=? | ftp_enabled=? | ssl_cipher_list=? | display_file_number=? | display_subdirectories_depth=? | client_compat_switch=? | max_connection_threshold=? } *
Parameters
Parameter |
Description |
Value |
---|---|---|
anonymous_access_switch=? | Anonymous user access switch. | The value can be "yes" or "no", where:
|
anonymous_max_connection=? | Maximum number of connections of all anonymous users. | The value must be an integer from 1 to 128. |
client_max_connection=? | Maximum number of connections of a single client. | The value is an integer from 1 to the maximum number of connections. NOTE:
The maximum number of connections varies depending on the product model. For details, see section "Software Specifications" in the product description. |
max_connections=? | Maximum number of connections. | The value is an integer from 1 to the maximum number of connections. NOTE:
The maximum number of connections varies depending on the product model. For details, see section "Software Specifications" in the product description. |
idle_time=? | Idle period of connections. | The value must be an integer from 1 to 1440. |
onymous_max_connection=? | Maximum number of connections of each user. | The value is an integer from 1 to the maximum number of connections. NOTE:
The maximum number of connections varies depending on the product model. For details, see section "Software Specifications" in the product description. |
running_status=? | Running status of the FTP service. | The value can be "stop" or "running", where:
|
anonymous_homedir=? | Anonymous user working directory. | The value contains 1 to 1023 characters. The path consists of the file system name and the directory created by a user. |
fxp_enabled=? | Status of the FXP function. | The value can be "yes" or "no", where:
|
buffer_size=? | FTP cache size. This parameter is valid only in developer mode. For details about how to log in to the developer mode, see Advanced O&M Command Reference. | The value ranges from 8192 to 1048576 bytes. |
anonymous_upload=? | Upload permission switch for anonymous users. | The value can be "true" or "false", where:
|
client_charset=? | Coded character set of a client. This parameter takes effect only after the service is restarted. | The value can be "utf-8" or "gbk", where:
|
umask=? | Umask of files and directories. This configuration takes effect only after the service is restarted. | The umask format is 000:000. The part before the colon indicates the file umask, and the part behind the colon is the directory umask. Each part is an octal integer ranging from 000 to 777. |
ftps_model=? | FTPS model. | The value can be "explicit" or "implicit", where:
|
ftp_enabled=? | FTP function switch in explicit FTPS mode. | The value is "yes" or "no", where:
|
ftps_enabled=? | FTPS function switch when the FTP function is enabled. | The value is "yes" or "no", where:
|
support_mlsx=? | MLST, MLSD function switch. | The value is "yes" or "no", where:
|
ssl_cipher_list=? | FTPS security suite. | The value can be any of "ECDHE-RSA-AES256-SHA", "ECDHE-RSA-AES128-SHA", "DHE-RSA-AES256-GCM-SHA384", "DHE-RSA-AES128-GCM-SHA256", "AES128-SHA256", "AES256-SHA256", "AES128-SHA", "DHE-DSS-AES128-SHA", "AES256-SHA", "DHE-DSS-AES256-SHA", or their combination. For example, the value can be "AES128-SHA256" or "AES128-SHA256,AES256-SHA256". |
display_file_number=? | Maximum number of files that can be displayed. | The value must be an integer from 1 to 1000000. |
display_subdirectories_depth=? | Maximum number of subdirectories that can be displayed. | The value ranges from 1 to 100. |
client_compat_switch=? | Whether the function of compatibility with clients is enabled. | The value can be "on" or "off", where:
|
max_connection_threshold=? | Alarm threshold of the maximum number of connections. | The value must be an integer from 0 to 99, expressed in percentage. If the ratio of the connection quantity to the maximum number of connections exceeds the value, an alarm is reported. When this parameter is set to 0, the alarm function is disabled. |