This function checks whether the account allows anonymous FTP connections.
Important:
When you disable the FTP role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ Ftp \ allows_anonymous_ftp
{- "apiversion": 3,
- "func": "allows_anonymous_ftp",
- "module": "Ftp",
- "result": {
- "data": {
- "allows": 1
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}