Return if anonymous FTP connections allowed

This function checks whether the account allows anonymous FTP connections.

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/allows_anonymous_ftp
Request samples
uapi --output=jsonpretty \
  --user=username \
  Ftp \
  allows_anonymous_ftp
Response samples
application/json
{
  • "apiversion": 3,
  • "func": "allows_anonymous_ftp",
  • "module": "Ftp",
  • "result": {
    • "data": {
      • "allows": 1
      },
    • "errors": null,
    • "messages": null,
    • "metadata": { },
    • "status": 1,
    • "warnings": null
    }
}