Enable or disable anonymous incoming FTP transfers

This function enables or disables inbound anonymous FTP transfers.

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 inbound anonymous FTP transfers.

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