# Manage Files Files / Manage Files ## Return autocomplete file and directory names - [GET /Fileman/autocompletedir](https://api.docs.cpanel.net/specifications/cpanel.openapi/manage-files/autocompletedir.md): This function returns any files and directories that begin with a specified string. When you disable the File Storage role, the system this function. ## Delete .trash folder content - [GET /Fileman/empty_trash](https://api.docs.cpanel.net/specifications/cpanel.openapi/manage-files/empty_trash.md): This function purges content from the folder in the user's home directory. When you disable the FileStorage role, the system this function. ## Return file content - [GET /Fileman/get_file_content](https://api.docs.cpanel.net/specifications/cpanel.openapi/manage-files/get_file_content.md): This function retrieves a file's content. When you disable the File Storage role, the system this function. JSON strings be valid UTF-8. To retrieve a non-UTF-8 file via JSON, we recommend that you give as and as , then decode the return payload’s as UTF-8. ## Return file or directory information - [GET /Fileman/get_file_information](https://api.docs.cpanel.net/specifications/cpanel.openapi/manage-files/get_file_information.md): This function returns the information for a specified file or directory. When you disable the File Storage role, the system this function. ## Return directory content - [GET /Fileman/list_files](https://api.docs.cpanel.net/specifications/cpanel.openapi/manage-files/list_files.md): This function returns a sorted list of files and directories. When you disable the FileStorage role, the system this function. For more information, read our How to Use Server Profiles documentation. ## Save file - [GET /Fileman/save_file_content](https://api.docs.cpanel.net/specifications/cpanel.openapi/manage-files/save_file_content.md): This function saves a file in a directory and encodes it in a character set. When you disable the File Storage role, the system this function. ## Update buffer encoding - [GET /Fileman/transcode](https://api.docs.cpanel.net/specifications/cpanel.openapi/manage-files/transcode.md): This function converts a buffer from one encoding language to another. When you disable the File Storage role, the system this function. ## Upload files - [GET /Fileman/upload_files](https://api.docs.cpanel.net/specifications/cpanel.openapi/manage-files/upload_files.md): This function uploads files. For more information about how to use this function in your custom code, read our [Use UAPI's Function in Custom Code tutorial](https://go.cpanel.net/tutorial-use-uapis-fileman-upload-files-function-in-custom-code). When you disable the File Storage role, the system this function. You cannot call this function through WHM API 1's uapi_cpanel function.