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.
path required | string The prefix of the paths to complete. Example: path=public |
dirsonly | integer Default: 0 Whether to include only directories in the output.
|
html | integer Default: 1 Whether to return HTML-encoded results.
Example: html=1 |
list_all | integer Default: 1 Whether to return all files and directories inside the specified
directory. If you set this parameter's value to
|
apiversion | integer The version of the API. |
func | string The name of the method called. |
module | string The name of the module called. |
object |
uapi --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
}
}