> ## Documentation Index
> Fetch the complete documentation index at: https://citodocs.prostack.host/llms.txt
> Use this file to discover all available pages before exploring further.

# File Manager

> Browse, upload, download and edit files using the built-in file manager

Cito has a file manager built in which allows you to browse, upload, download and edit files. This is useful as an alternative to using SFTP to manage your site.

You can find the file manager under Site Settings.

<img src="https://mintcdn.com/prostackhosting/mdYxEEoAStQaBUbz/images/screenshots/fmoverview.png?fit=max&auto=format&n=mdYxEEoAStQaBUbz&q=85&s=bfecc4a4003ba101111624b6a5a37baf" alt="File Manager Overview" width="2528" height="1388" data-path="images/screenshots/fmoverview.png" />

The file manager can be expanded to fill the dashboard window by clicking the Full Screen toggle on the right hand side of the toolbar.

## Modes

The file manager has two modes: browsing (the default) and select. In select mode (which you can toggle with the checkbox icon to the left of the toolbar), you are able to select multiple files and perform bulk actions on them.

## The context menu

Right click anywhere in the file manager to bring up the context menu. This menu has various options for files and directories, including editing or modifying permissions:

<img src="https://mintcdn.com/prostackhosting/mdYxEEoAStQaBUbz/images/screenshots/fmrightclick.png?fit=max&auto=format&n=mdYxEEoAStQaBUbz&q=85&s=5b3173b4e78da7369cadd3922545715a" alt="Context Menu" width="718" height="758" data-path="images/screenshots/fmrightclick.png" />

## Uploading files

Click the upload button in the toolbar to open the Upload dialog box. Here you can upload files, either by dragging and dropping them into the window, or by selecting them via your local file system.

<img src="https://mintcdn.com/prostackhosting/mdYxEEoAStQaBUbz/images/screenshots/fmupload.png?fit=max&auto=format&n=mdYxEEoAStQaBUbz&q=85&s=e54e5e98740c2f127ff99d44a2adfc3c" alt="Upload Files" width="1316" height="1292" data-path="images/screenshots/fmupload.png" />

## Editing files

Right click on a file and select **Edit**  to bring up the code editor. This allows you to edit text files such as HTML, CSS, and PHP.

<img src="https://mintcdn.com/prostackhosting/mdYxEEoAStQaBUbz/images/screenshots/fmedit.png?fit=max&auto=format&n=mdYxEEoAStQaBUbz&q=85&s=b98f0907caa0359d593d8ac6e3c3c8d5" alt="Edit File" width="3006" height="1478" data-path="images/screenshots/fmedit.png" />

The code editor automatically opens the file manager in full screen mode.

## Copy and paste

The file manager has copy and paste functionality. You are able to right click files and select copy. You can then navigate to another directory and paste those files to move them to that location.

## Permissions

To modify a file or folder's permissions, right click on the file/folder and select "Permissions".

You can set permissions using the checkboxes or enter an octal string (e.g. `644`) directly.

<img src="https://mintcdn.com/prostackhosting/mdYxEEoAStQaBUbz/images/screenshots/fmpermissions.png?fit=max&auto=format&n=mdYxEEoAStQaBUbz&q=85&s=c62e8a4a2b9d5f9ce53a5478be0d4a60" alt="Permissions" width="1174" height="1038" data-path="images/screenshots/fmpermissions.png" />

<Warning>
  **Take care when editing permissions**

  Permissions should be edited with caution. In general, files should have `644` permissions and directories `755`.
  Setting broader permissions (such as `777`) can introduce security risks.
</Warning>

## Zip & Unzip

You can extract or compress files in zip format in the File Manager.

To unzip, right click on any `.zip` file and select "Extract". You can choose a destination to unzip to.

To create a new zip archive, select one or more files, then click "Compress selected".
