# files

UrbeStack release 0.2.35 API group, 30 operations.

The file manager operates on a customer's home directory and runs file operations as that customer.

- [GET /files/{user}](https://urbestack.com/docs/api/get-files-user.md): List the entries in a directory in a customer's home
- [POST /files/{user}/compress](https://urbestack.com/docs/api/post-files-user-compress.md): Create a .zip archive from entries in one directory
- [GET /files/{user}/content](https://urbestack.com/docs/api/get-files-user-content.md): Read a file's contents as base64
- [PUT /files/{user}/content](https://urbestack.com/docs/api/put-files-user-content.md): Write the entire contents of a file
- [POST /files/{user}/copy](https://urbestack.com/docs/api/post-files-user-copy.md): Copy entries into a directory in a customer's home
- [POST /files/{user}/delete](https://urbestack.com/docs/api/post-files-user-delete.md): Permanently delete entries from a customer's home
- [POST /files/{user}/directories](https://urbestack.com/docs/api/post-files-user-directories.md): Create a directory in a customer's home
- [GET /files/{user}/download](https://urbestack.com/docs/api/get-files-user-download.md): Download a file or download a directory as a ZIP archive
- [POST /files/{user}/download](https://urbestack.com/docs/api/post-files-user-download.md): Download entries from one directory as a ZIP archive
- [POST /files/{user}/extract](https://urbestack.com/docs/api/post-files-user-extract.md): Extract an archive in a customer's home
- [POST /files/{user}/mode](https://urbestack.com/docs/api/post-files-user-mode.md): Set the permissions of one or more entries
- [POST /files/{user}/move](https://urbestack.com/docs/api/post-files-user-move.md): Move entries into a directory in the customer's home
- [POST /files/{user}/rename](https://urbestack.com/docs/api/post-files-user-rename.md): Rename or move an entry within a customer's home
- [GET /files/{user}/size](https://urbestack.com/docs/api/get-files-user-size.md): Measure disk usage for a directory or its immediate subdirectories
- [GET /files/{user}/trash](https://urbestack.com/docs/api/get-files-user-trash.md): List the entries in the customer's Trash
- [POST /files/{user}/trash](https://urbestack.com/docs/api/post-files-user-trash.md): Move entries to the customer's Trash
- [POST /files/{user}/trash/restore](https://urbestack.com/docs/api/post-files-user-trash-restore.md): Restore entries from the Trash to their original directories
- [GET /ftp](https://urbestack.com/docs/api/get-ftp.md): Get the server's FTP status and connection settings
- [GET /ftp/accounts](https://urbestack.com/docs/api/get-ftp-accounts.md): List FTP accounts and report FTP status
- [POST /ftp/accounts](https://urbestack.com/docs/api/post-ftp-accounts.md): Create an FTP account
- [PATCH /ftp/accounts/{name}](https://urbestack.com/docs/api/patch-ftp-accounts-name.md): Change an FTP account's password or directory
- [DELETE /ftp/accounts/{name}](https://urbestack.com/docs/api/delete-ftp-accounts-name.md): Delete an FTP account
- [POST /ftp/install](https://urbestack.com/docs/api/post-ftp-install.md): Queue installation of the FTP service
- [GET /protected-folders](https://urbestack.com/docs/api/get-protected-folders.md): List an account's password-protected folders
- [POST /protected-folders](https://urbestack.com/docs/api/post-protected-folders.md): Protect a folder with HTTP Basic authentication
- [PATCH /protected-folders/{id}](https://urbestack.com/docs/api/patch-protected-folders-id.md): Change the directory listing setting for a protected folder
- [DELETE /protected-folders/{id}](https://urbestack.com/docs/api/delete-protected-folders-id.md): Remove HTTP Basic authentication from a protected folder
- [POST /protected-folders/{id}/users](https://urbestack.com/docs/api/post-protected-folders-id-users.md): Add a user to a protected folder
- [PATCH /protected-folders/{id}/users/{username}](https://urbestack.com/docs/api/patch-protected-folders-id-users-username.md): Update a user in a protected folder
- [DELETE /protected-folders/{id}/users/{username}](https://urbestack.com/docs/api/delete-protected-folders-id-users-username.md): Remove a user from a protected folder

Every operation of the group in one file: https://urbestack.com/docs/api/group/files/full.md
