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).
create ftp share_auth_client

create ftp share_auth_client

Function

The create ftp share_auth_client command is used to create FTP shares.

Format

create ftp share_auth_client < userName > < sharePath > < permission > [ upBandwidth=? ] [ downBandwidth=? ]

Parameters

Parameter

Description

Value

username Share username.

The value is a local username which is also the share name.

The value contains 3 to 32 characters and cannot contain spaces or the following characters: "/\[]:;|=,+*?<>@. The value cannot end with a period (.). Press the combination key of Ctrl+A to check the username.

sharepath Share file path.

The value contains 1 to 4000 characters, must start with a slash (/), and cannot contain spaces or the following special characters: "\[]<>+:;,?*|=@&'. Otherwise, the FTP share cannot be created.

permission Share permission.

A 5-bit binary number is used to indicate whether permissions are supported. Such permissions are permissions for directory creation and browse, and file upload,

download, and deletion. The decimal number that corresponds to the binary number ranges from 0 to 31. From the right to left, the digits of the binary number indicate deletion, download, upload, directory and file browse, and directory creation.1 indicates permission enablement, whereas 0 indicates permission disablement.

upbandwidth Upper limit of upload bandwidth.

The value is an integer between "0" and "409,600" expressed in KByte/s. If the value is set to "0", there is no limit on the upload bandwidth.

downbandwidth Upper limit of download bandwidth.

The value is an integer between "0" and "409,600" expressed in KByte/s. If the value is set to "0", there is no limit on the download bandwidth.

Level

Resource administrator

Usage Guidelines

None

Example

Create FTP shares.

admin:/>create ftp share_auth_client test /test 31 downBandwidth=0 upBandwidth=0
WARNING: You are about to create FTP user. If an FTP share has been created for a user,this operation will change the share path and related share parameters of this user.
Have you read warning message carefully?(y/n)y
 
Are you sure you want to perform the operation?(y/n)y
Command executed successfully.

System Response

None

Translation
Download
Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 25259

Downloads: 7

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