This function checks an FTP account's quota.
Important:
When you disable the FTP role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ Ftp \ get_quota \ account='user1'
{- "apiversion": 3,
- "func": "get_quota",
- "module": "Ftp",
- "result": {
- "data": "unlimited",
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}