This function checks whether an FTP account exists.
Note:
This function returns only metadata if the FTP account exists, or an error if the FTP account does not exist.
uapi --output=jsonpretty \ --user=username \ Ftp \ ftp_exists \ user='us_chickens'
{- "apiversion": 3,
- "func": "ftp_exists",
- "module": "Ftp",
- "result": {
- "data": null,
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}