This function retrieves the cPanel account's FTP welcome message.
Important:
When you disable the FTP role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ Ftp \ get_welcome_message
{- "apiversion": 3,
- "func": "get_welcome_message",
- "module": "Ftp",
- "result": {
- "data": "Greetings, Professor Falken.",
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}