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.
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.
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:
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.
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.
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.
Take care when editing permissionsPermissions 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.
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”.