This function checks whether the server uses ProFTPD or Pure-FTPd.
Important:
When you disable the FTP role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ Ftp \ server_name
{- "apiversion": 3,
- "func": "server_name",
- "module": "Ftp",
- "result": {
- "data": "pure-ftpd",
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}