csmftpaddusr (Registering and updating FTP inbound adapter users)
- Organization of this page
Format
csmftpaddusr -usr user-name -pass password [-r]
Function
Registers a user in an FTP inbound adapter. If a user is already registered, this command updates the password.
For details on how to use this command, see 5.4.12 Checking and confirming the user information of the FTP inbound adapter in the uCosminexus Service Platform Setup and Operation Guide.
Arguments
-usr user-name ~ <one-byte alphanumeric characters and one-byte symbols> ((1 to 80 characters))
Specifies the name of the user to be registered or updated. You cannot register a user whose user name is not specified (anonymous user).
You can specify one-byte alphanumeric characters, one-byte symbols (0x21 to 0x7E in ASCII encoding), and one-byte spaces (0x20 in ASCII encoding). The characters are case sensitive. The available one-byte symbols are as follows:
-
Exclamation mark (!)
-
Double quotation mark (")
-
Hash mark (#)
-
Dollar sign ($)
-
Percent sign (%)
-
Ampersand (&)
-
Apostrophe mark (')
-
Left parenthesis (()
-
Right parenthesis ())
-
Plus sign (+)
-
Hyphen (-)
-
Period (.)
-
Forward slash (/)
-
Colon (:)
-
Semicolon (;)
-
Left angle bracket (<)
-
Right angle bracket (>)
-
Equal sign (=)
-
Question mark (?)
-
At mark (@)
-
Left square bracket ([)
-
Right square bracket (])
-
Yen sign (\)
-
Caret (^)
-
Underscore (_)
-
Grave accent mark (`)
-
Left curly bracket ({)
-
Right curly bracket (})
-
Vertical bar (|)
-
Swung dash (~)
-pass password ~ <one-byte alphanumeric characters and one-byte symbols> ((1 to 80 characters))
Specifies the password for the user name to be registered or updated. You can specify one-byte alphanumeric characters, one-byte symbols (0x21 to 0x7E in ASCII encoding), and one-byte spaces (0x20 in ASCII encoding). The alphabetic characters are case sensitive. The available one-byte symbols are the same as those for the -usr option.
To change the password (when the -r option is specified), specify the new password.
-r
Specify this option to change the password of the user ID that is already registered.
Return values
|
Return value |
Meaning |
|---|---|
|
0 |
The command terminated normally. |
|
1 |
The command terminated abnormally. |
|
3 |
An exclusion error occurred. |
|
9 |
An error occurred when checking the execution permission. |
Notes
-
You can register a maximum of 2,048 users.
-
Execute the command when the FTP inbound adapter is not running.
-
You can execute the command irrespective of the status of the HCSC server.
-
The content executed by the command (registering and updating a user) takes effect after the FTP inbound adapter starts. Also, if you execute the command when the FTP inbound adapter is running, the content executed by the command (registering and updating a user) takes effect after the FTP inbound adapter starts the next time.
-
An error occurs in the following cases:
-
When a user is being registered, updated, deleted, and displayed
-
When a user other than the System Administrator attempts to execute the command
-