Enable or disable anonymous FTP logins

This function enables or disables anonymous FTP logins.

Important:

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

SecurityBasicAuth
Request
query Parameters
set
integer
Default: 0

Whether to enable or disable anonymous FTP logins.

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