pem.ProFTPD.createCustomFTPUser

This method is supported by Operations starting from version 2.9 HOTFIX01.

This method creates a Custom FTP User for Apache Webspace.

The method has the following input parameters:

Name

Type

Short Description

webspace_id

int

Webspace ID

login_suffix

string

Login suffix of Custom FTP User. The login of Custom FTP User will be: <General FTP User Login>.login_suffix

password

string

Password of Custom FTP User

location

struct

It defines the entry point for Custom FTP User.

  • location_base

string

It defines a base location. There are the following options:

  • httpdocs – WebSite document root (/webspace/httpdocs).
  • httpsdocs – SSL WebSite document root (/webspace/httpsdocs).
  • cgi-bin – WebSite CGI directory (/webspace/cgi-bin).
  • [path]

string

Path inside the base location. It is optional parameter. If the parameter is omitted, the root of the base location is used.

This method has no output parameters.