This function returns any files and directories that begin with a specified string.
Important:
When you disable the File Storage role, the system disables this function.
uapi --output=jsonpretty \ --user=username \ Fileman \ autocompletedir \ path='public'
{- "apiversion": 3,
- "func": "autocompletedir",
- "module": "Fileman",
- "result": {
- "data": [
- {
- "file": "public_ftp"
}
], - "errors": null,
- "messages": null,
- "metadata": {
- "transformed": 1
}, - "status": 1,
- "warnings": null
}
}