Guide Control Panel

How to use the file manager

Uploading, editing and setting permissions on your website files without needing FTP.

Updated 7 min read Beginner

The file manager is a browser-based way to work with the files on your hosting account without installing an FTP client first. For a quick edit, a single upload, or checking whether a file is actually where you think it is, it is usually faster than opening a separate program and typing in connection details.

It is not a replacement for FTP in every situation — moving thousands of files or scripting a deployment is still better done another way — but for the everyday jobs of a typical website it covers almost everything.

Finding it and finding your files

Open the section of your control panel that deals with files. Inside, you are looking at the same folder structure an FTP connection would show you, starting from the root of your hosting account. Your actual website content lives inside a specific folder for the domain — commonly named public_html or htdocs — and everything inside that folder is what a visitor's browser can reach. Anything outside it is private to your account.

Layout varies by panel and by account

Whether a domain gets its own subfolder or shares the main web root depends on how many domains are on the account and how the panel is set up. If you are not sure which folder belongs to which domain, look for a domains or sites section elsewhere in the panel that lists the mapping.

What you can do from inside it

  • Upload and download. Drag files in from your computer, or select existing files to download a copy. Most file managers accept multiple files at once and will show progress on larger uploads.
  • Edit text-based files directly. HTML, CSS, JavaScript, PHP and configuration files such as .htaccess can usually be opened and edited in a built-in text editor, saving you an upload step for a small change.
  • Move, copy, rename and delete. Standard file operations work broadly as they would in a desktop file browser, including selecting several files at once.
  • Compress and extract. Zipping a folder before download, or extracting an archive you have just uploaded, saves transferring hundreds of small files individually — genuinely useful when moving a site or restoring a backup.
  • Create new files and folders. Useful for a quick test file, a new folder for an upload area, or recreating a file you have accidentally deleted.

File and folder permissions

Every file and folder on a Linux server has a permission value that controls who can read, write to, or execute it. Get this wrong and a script that should run quietly fails, or a page that should be private becomes readable by anyone who knows the URL.

TypeTypical valueMeaning
Folders755Owner can read, write and enter it; everyone else can read and enter it, but not write.
Files644Owner can read and write; everyone else can only read.
Executable scripts755Needed occasionally for a script that must run directly rather than be read as text.

Most file managers let you set a permission value directly, usually as that three-digit number. Resist the temptation to set something to 777 to make an error go away — it means anyone on the server can write to that file or folder, which is a genuine security hole, not a harmless shortcut. If a permission-related error appears, work out which of the two values above actually applies rather than opening it up completely.

Be careful editing live files directly

Editing a file in place with no backup means a mistake is live the moment you save it. For anything beyond a one-line change, download a copy first, or make the edit somewhere you can undo it — the file manager itself does not keep version history.

Uploading in bulk

For a handful of files, drag-and-drop upload through the file manager is fine. For a whole website's worth of files, it is much faster to zip them into a single archive on your own computer, upload that one file, then use the file manager's extract option to unpack it on the server. This avoids the overhead of hundreds of individual upload requests and is far less likely to time out partway through.

When to use FTP instead

The file manager runs in your browser, which is convenient but has practical limits: very large individual files, very large numbers of files, or a workflow where you want to sync a local folder against the server, are all better handled by an FTP or SFTP client on your own computer. See how to create an FTP account if you need that instead.

Common problems

  • An upload fails partway through. Very large files sometimes exceed a size limit set on the upload itself. Splitting the transfer into an archive, or switching to FTP for that one file, usually solves it.
  • A page shows raw code instead of rendering. This is normally a file extension problem — a PHP file saved or uploaded with the wrong extension is served as plain text rather than executed.
  • "Permission denied" when a script runs. Check the permission value against the table above; the fix is almost always 755 for a folder or 644 for a file, not a wider-open value.
  • You cannot find the file you just uploaded. Confirm you uploaded into the correct domain's web root and not a different folder on the same account — easy to do if you manage more than one site here.

If you have deleted or overwritten something you need back, that is a job for your backups rather than the file manager itself — see how to restore a single file from a backup.

Related reading