No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

OceanStor 9000 V5 7.0 Command Reference 03

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
change ftp service

change ftp service

Function

The change ftp service command is used to change the FTP service settings.

Format

change ftp service [ runningStatus=? ] [ maxConnection=? ] [ anonymousAccessStatus=? ] [ clientMaxConnection=? ] [ maxActiveProcess=? ] [ maxAnonymousActiveProcess=? ] [ idleTime=? ] [ anonymous_upload=? ] [ client_charset=? ] [ umask=? ]

Parameters

Parameter

Description

Value

runningstatus FTP service status.

The value is "running" or "notrunning", where:

  • "running": The FTP service is running.
  • "notrunning": The FTP service is not running.
default: The FTP service is not running.
maxconnection Maximum number of connections.

The value is an integer. The memory is smaller than 80 GB, the value is from 1 to 128. The memory is larger than or equal to 80 GB, the value is from 1 to 256.

anonymousaccessstatus Anonymous user access switch.

The value is "false" or "true", where:

  • "true": The switch is on.
  • "false": The switch is off.
default: The switch is off.
clientmaxconnection Maximum number of connections for a single client.

The value is an integer. The memory is smaller than 80 GB, the value is from 1 to 128. The memory is larger than or equal to 80 GB, the value is from 1 to 256.

maxactiveprocess Maximum number of processes of a user.

The value is an integer. The memory is smaller than 80 GB, the value is from 1 to 128. The memory is larger than or equal to 80 GB, the value is from 1 to 256.

maxanonymousactiveprocess Maximum number of processes for anonymous users.

The value is an integer. The memory is smaller than 80 GB, the value is from 1 to 128. The memory is larger than or equal to 80 GB, the value is from 1 to 256.

idletime Connection idle time.

The value is an integer between "1" and "1440", expressed in minutes.

anonymous_upload Uploading permission switch for anonymous users.

The value is true or false.

  • true: Uploading is allowed.
  • false: Uploading is not allowed.
client_charset Character set of a client.This configuration takes effect only after the service is restarted.

The value is utf-8 or gbk.

  • utf-8: The client uses the UTF-8 code format.
  • gbk: The client uses the gbk code format.
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.

Level

Device administrator

Usage Guidelines

FTP is a plaintext protocol. Enabling the FTP service results in information security risks.

Example

Change FTP service settings.

admin:/>change ftp service runningStatus=running
CAUTION: You are about to start the FTP service. After the FTP service is started,security risks exist when data is transferred using this protocol because FTP is not a secure protocol. You are adviseed to use it on a LAN.
Do you wish to continue?(y/n)y
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 24574

Downloads: 7

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next