AddHosting - FTPUser
This command is used to create a new cPanel FTP user with a specific “TYPE”. There is a separate API command page for each specific “TYPE”. Please kindly note the “TYPE” parameter value here. Different parameters are needed for different “TYPE”.
Required Parameters
Section titled “Required Parameters”The following parameters are standard parameters for this command.
Command
COMMAND = AddHostingTYPE = ftpuserCLASS = cpanelACCOUNT = (TEXT)OBJECT = ftp-user1PASSWORD = (TEXT)Attributes
Section titled “Attributes”| ACCOUNT | The cPanel account ID of the end customer. |
|---|---|
| DIRECTORY | The directory path for addon domains. |
| OBJECT | Any domain name. |
| PASSWORD | This is optional for the user to set their own password, otherwise the system will automatically generate one. |
Optional
Section titled “Optional”The following parameters are optional for this command.
Command
COMMAND = AddHostingTYPE = ftpuserCLASS = cpanelACCOUNT = (TEXT)OBJECT = ftp-user1PASSWORD = (TEXT)DIRECTORY = (TEXT)Hosting - cPanel commands