This function uploads files.
Note:
For more information about how to use this function in your custom code,
read our Use UAPI's Fileman::upload_files
Function in Custom Code tutorial.
Important:
When you disable the File Storage role, the system disables this function.
You cannot call this function through WHM API 1's uapi_cpanel function.
To implement Fileman::upload_files, read our Use UAPI's `Fileman::upload_files` Function in Custom Code tutorial.
{- "apiversion": 3,
- "func": "upload_files",
- "module": "Fileman",
- "result": {
- "data": {
- "content": "",
- "filename": "example.png"
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}