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

subscription_id

int

ID of the subscription

password

string

The password to set

password_crypted

boolean

Whether the password is encrypted

[webspace_id]

int

ID of the webspace served by the chosen FTP service

[domain_name]

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.