Return whether server uses ProFTPD or Pure-FTPd

This function checks whether the server uses ProFTPD or Pure-FTPd.

Important:

When you disable the FTP role, the system disables this function.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
apiversion
integer

The version of the API.

func
string

The name of the method called.

module
string

The name of the module called.

object
get/Ftp/server_name
Request samples
uapi --output=jsonpretty \
  --user=username \
  Ftp \
  server_name
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "server_name",
  • "module": "Ftp",
  • "result": {
    • "data": "pure-ftpd",
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}