This function changes the home directory for FTP accounts.
Important:
When you disable the FTP role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ Ftp \ set_homedir \ user='example1'
{- "apiversion": 3,
- "func": "set_homedir",
- "module": "Ftp",
- "result": {
- "data": null,
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}