This function changes an FTP account's password.
Important:
When you disable the FTP role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ Ftp \ passwd \ user='ftpaccount' \ pass='123456luggage'
{- "apiversion": 3,
- "func": "passwd",
- "module": "Ftp",
- "result": {
- "data": null,
- "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}