pem.setFTPPassword
This method is supported by Operations starting from version 2.4.
This method changes the password of the primary FTP user from FTP hosting associated with the specific subscription.
The method has the following input parameters:
Name |
Type |
Short Description |
---|---|---|
|
int |
ID of the subscription |
|
string |
The password to set |
|
boolean |
Whether the password is encrypted |
|
int |
ID of the webspace served by the chosen FTP service |
|
string |
Name of the domain served by the chosen FTP service |
The [webspace_id]
or [domain_name]
parameters should be used when a subscription contains more than one webspace served by the FTP service in order to determine, which exactly service to use. These parameters are optional to each other, so only one of them can be used in a single request. If neither of them is specified, the method will act as if there is only one webspace in the subscription and will result in error if it's not so.
This method has no output parameters.