The file manager lets you work on your site's files in the browser, with no separate login and nothing to install. It follows your dashboard's light or dark setting and its language.
Open it
- Go to Hosting → Your websites and click the site.
- In the row of tools under the site's name, click File manager.
A new tab opens in public_html, your site's web root. Your account folder (Home) is one level up in the path at the top. Each link works once and lasts a few minutes, so if the tab says the link has been used, go back to the site page and click File manager again.
Some files in the account folder belong to the platform, such as vhconf.xml, .cagefs and files whose names start with .zinn. The file manager does not show them and will not change them, because removing one can take the site offline.
Upload, create and edit
- Upload sends files from your computer into the folder you are in. Everything you upload or create belongs to your site's own account, so it counts in your disk space and your site's PHP can read it.
- New makes a file or a folder. The dialog asks for the name.
- Click a text file and choose Edit to open the editor. It fills most of the screen, colours the code and follows your light or dark setting. Save before you close the tab.
On a phone the list is compact, so a long folder stays easy to scroll.
Unzip: you choose where, and what happens to files that already exist
Select a .zip file and choose Unzip. The file manager asks which folder to extract into. The folder you are in is filled in for you; type a new name to extract into a fresh folder, and it is created.
If some of the files in the archive already exist there, it lists them and asks:
- Overwrite replaces the existing files with the ones in the archive.
- Keep both extracts the new copies beside the old ones with a number added, such as
index (1).php.
- Cancel stops, and nothing is written.
An entry in an archive that tries to climb out of the folder (a ../ path) is never written.
Delete goes to the Trash first
Delete does not remove a file straight away. It moves it to the Trash in your account folder, so a slip is easy to undo.
- Click Trash to see what is there. Restore puts an item back where it was. If something has taken its name in the meantime, the restored item gets " (restored)" added to its name.
- Empty trash removes everything in it for good.
- Items stay in the Trash for 30 days and are then removed.
- Deleting something while you are inside the Trash is final.
Files in the Trash still count in your disk space until they are removed.
Search in files and folder size
Search in files looks in the folder you are in and every folder below it. It matches a file's name or the text inside it, without caring about capitals. Files larger than 2 MB and binary files such as images are not read; the result says how many were skipped. A search stops at 1,000 matches or after 20 seconds, and tells you when it did, so you can search a smaller folder.
Folder size adds up everything in the selected folder, so you can see what is using your disk space.
Permissions
Select a file or folder and choose Permissions to change its mode, for example 640 for a settings file only your site should read. The new mode is read back from the disk before the file manager says it is done.
Two kinds of change are refused, with a message saying why:
- A mode that lets other users write to the file, such as 666 or 777. Your site never needs that, and it lets anyone on the server change the file.
- Folders and files the platform manages, such as your home folder, the web root,
.ssh and the files that hold your credentials.
If something goes wrong
- The tab will not open: your browser blocked the popup. Allow popups for the dashboard and click again.
- A file you expected is missing: look in the Trash first.
- You need SFTP or a terminal instead: see Sites → your site → Security → SSH access.