ftpsubaccount.exe <command> [<login_name>] [
<option 1> <param> [<option 2> <param>] ... [<option N> <param>]
]
plesk bin ftpsubaccount.exe --create JohnDoe -domain example.com -passwd userpass -quota 50 -access_read true
Command |
Parameter |
Description |
Example |
|---|---|---|---|
|
|
Creates the additional FTP account. Requires |
To create an additional FTP account with login name JohnDoe and password userpass on the subscription example.com: plesk bin ftpsubaccount.exe --create JohnDoe -passwd userpass -domain example.com |
|
|
Updates a configuration of the existing additional FTP account with data specified in the options. |
To change the password of additional FTP account for user with the login name JohnDoe to newpass: plesk bin ftpsubaccount.exe --update JohnDoe -passwd newpass or plesk bin ftpsubaccount.exe -u JohnDoe -passwd newpass |
|
|
Deletes an additional FTP account for a user with a specified login name. |
To delete the additional FTP account for the user with the login name JohnDoe: plesk bin ftpsubaccount.exe --remove JohnDoe or plesk bin ftpsubaccount.exe -r JohnDoe |
|
|
Displays information about a specified additional FTP account. |
To view information about the additional FTP account for user with the login name JohnDoe: plesk bin ftpsubaccount.exe --info JohnDoe or plesk bin ftpsubaccount.exe -i JohnDoe |
|
Displays help on the use of the utility. |
To view help on the use of this utility: plesk bin ftpsubaccount.exe --help or plesk bin ftpsubaccount.exe -h |
Option |
Parameter |
Description |
Example |
|---|---|---|---|
|
|
Sets a login name for a user of an additional FTP account. |
To change the login name of the additional FTP account user from JohnDoe to John: plesk bin ftpsubaccount.exe -u JohnDoe -login John |
|
|
Sets a password for an additional FTP account. |
To change the password of the additional FTP account user JohnDoe to newpassword: plesk bin ftpsubaccount.exe -u JohnDoe -passwd newpassword |
|
|
Specifies a subscription on which an additional FTP account is to be created. Required with |
To create the additional FTP account with the login name JohnDoe and password userpass on the subscription example.com: plesk bin ftpsubaccount.exe --create JohnDoe -passwd userpass -domain example.com |
|
|
Limits the amount of available disk space for an additional FTP account. Unlimited if set to |
To restrict the hard disk quota for the additional FTP account user JohnDoe to 50 megabytes: plesk bin ftpsubaccount.exe -u JohnDoe -quota 50M To set the hard disk quota for the additional FTP account user JohnDoe to unlimited: plesk bin ftpsubaccount.exe -u JohnDoe -quota 0 or plesk bin ftpsubaccount.exe -u JohnDoe -quota -1 |
|
|
Sets a path to the home directory for an additional FTP account. Is |
To set the home directory for the additional FTP account user JohnDoe to the existing directory plesk bin ftpsubaccount.exe -u JohnDoe -home /httpdocs The path is defined relative to the domain home directory path. The specified directory must exist. |
|
|
Allows or prohibits viewing the content of the home directory and download files from it. Is |
To give read permission for the additional FTP account user JohnDoe: plesk bin ftpsubaccount.exe -u JohnDoe -access_read true |
|
|
Allows or prohibits creating, viewing, renaming, and deleting directories in the home directory. Is |
To give write permission for the additional FTP account user JohnDoe: plesk bin ftpsubaccount.exe -u JohnDoe -access_read true |