MagicWP Docs
Site managementSecurity & Data

File Manager

Browse, edit, upload and organise your site's files from the dashboard, with no SFTP client needed

The File Manager is a file browser built into your dashboard. Use it to look inside your site, make a quick fix to a file, upload a few files, or tidy up folders, all from your browser, without installing an SFTP client or logging in to a server.

To open it, go to your site → Files (it's in the Security & Data group of the left menu). It's available on every plan.

It opens at Home, the top level of your site. From there you can go into wp-content to find your themes, plugins and uploads, or open core files such as wp-config.php. You see exactly the same files you reach over SFTP, so the two are always in step.

When to use it

The File Manager is built for quick jobs: fixing a line in a file, adding a plugin or theme by hand, renaming a folder, checking what's using space. For very large files, or moving hundreds of files at once, SFTP is the better tool. See File Manager or SFTP? below.

Find your way around

  • Breadcrumb and Up. The path at the top (for example Home › wp-content › themes) shows where you are. Click any part to jump back to it, or click Up to go one level higher.
  • Filter. Type in Filter this folder to narrow the list to matching names. Press Esc to clear it.
  • Refresh. Reloads the current folder, useful after you change files over SFTP or in WordPress.
  • Create. The blue menu button has New file, New folder and Upload files.
  • The list. Each row shows the Name, Type, Permissions, Size and Modified time. Click a column heading to sort by it; folders always stay at the top.
  • The ⋮ menu. Every row has a menu with the actions for that item (open, rename, move, copy, compress and more).
  • Selecting several items. Tick the checkboxes (or the box in the header to select everything). A bar appears with Move, Copy, Compress, Permissions and Delete, which act on all selected items at once. Click Clear to deselect.

Keyboard shortcuts

KeyWhat it does
↑ ↓Move between rows
EnterOpen the folder or file
SpaceSelect or deselect the row
F2Rename
DeleteDelete the selected item (you're asked to confirm first)

What you can do

ActionHow
Open a folderClick it, or use the breadcrumb to go back up
View or edit a text fileClick the file, or ⋮ → Edit. PHP, HTML, CSS, JS, JSON, SQL, YAML and other text files open in an editor; Save writes it to your site and closes the editor
Create a file or folderCreate → New file / New folder
UploadCreate → Upload files, or drag files onto the page
Download⋮ → Download (files only; to download a folder, compress it first)
Rename, move, copy, duplicate⋮ on a row; select several rows to move or copy in bulk
Delete⋮ → Delete, or select several rows
Compress and extract⋮ → Compress on a file or folder, or select several items and click Compress to put them in one archive. ⋮ → Extract here unzips a .zip
See and change permissionsThe Permissions column shows each item's mode (for example 644). Use ⋮ → Permissions…, or select items and click Permissions
Find a fileType in the filter box to narrow the current folder

Upload files

Choose Create → Upload files to open the upload window, then either drag files into the dashed area or click Choose files. You can also drag files straight onto the page without opening the window.

  • Progress. Each file shows how much has been sent, the speed and the time left. Several files upload at once; the rest wait their turn.
  • Large files. Files bigger than a few megabytes are sent in small pieces. If your connection drops for a moment, the upload retries and carries on rather than starting over.
  • A file with that name already exists. You're asked whether to Overwrite it or Skip it. Overwriting keeps the existing file's permissions.
  • Cancel. Cancel all stops every running upload and removes the partly uploaded files. When uploads finish, use Clear list to tidy the list or Close to leave the window.
  • Folders. You can't upload a folder directly. Compress it to a .zip on your computer, upload the zip, then use ⋮ → Extract here.

Each file can be up to 100 MB and an upload must finish within 10 minutes, otherwise it is cancelled automatically (that's about 1.4 Mbps of upload speed for a 100 MB file). If an upload fails, you'll see a message saying why, for example the file is too large or the site is out of disk space.

Edit a file

Click a text file (or choose ⋮ → Edit) to open it in the built-in editor, which colours PHP, CSS, JavaScript, JSON and other common formats.

  • Save writes your changes to the site and closes the editor. You can also press Ctrl+S (⌘S on a Mac).
  • If someone else (or a plugin) changed the file after you opened it, you're told File changed on the server and can choose Overwrite with your version or Keep editing to copy your work out first.
  • If you close the editor with unsaved changes, you're asked whether to discard them.
  • Only text files up to 10 MB open in the editor. Images, archives and other files can be downloaded instead.

Archives: compress and extract

Archives make it easy to move many files at once or keep a copy of a folder.

  • Compress. Choose ⋮ → Compress on one item, or select several items and click Compress to put them into a single archive in the current folder. Give it a name and pick the format: ZIP (.zip), TAR.GZ (.tar.gz) or TAR (.tar). If you type a name that already ends in one of these, the format switches to match.
  • Extract. ⋮ → Extract here unzips a .zip into the current folder. Extracting .tar and .tar.gz archives isn't supported yet.
  • Compressing and extracting work on up to 2 GB of uncompressed data.

Permissions

Every file and folder has permissions that decide who can read, change or run it. The Permissions column shows them as a three-digit number, such as 644 or 755.

Choose ⋮ → Permissions… (or select several items and click Permissions) to open the permissions window. Tick Read, Write and Execute for Owner, Group and Public, or type the number directly; the two stay in sync.

  • Typical values: 644 for files and 755 for folders.
  • A warning appears if you let the public write to an item, because anyone on the server could then change it. That's rarely what you want.
  • To stop you locking yourself out, the owner always keeps read and write access (plus execute on folders), and special bits (setuid, setgid, sticky) can't be set.
  • Changes apply to the selected items only, not to everything inside a folder.

Common tasks

Make a quick fix to wp-config.php

  1. Create a backup first.
  2. Click wp-config.php, change the line you need, and click Save.
  3. Reload your site to check it. If something is wrong, open the file again and undo your change.

Turn off a plugin that broke your site

If a plugin stops you reaching WordPress, you can deactivate it by renaming its folder:

  1. Open wp-content → plugins.
  2. Choose ⋮ → Rename on the plugin's folder and add -off to the name, for example my-plugin-off.
  3. Reload your site. WordPress treats the plugin as missing and carries on without it.
  4. Log in to WordPress and fix or remove the plugin, then rename the folder back if you want to keep it.

Add a plugin or theme by hand

The usual way is Plugins → Add New in WordPress. For a custom .zip you already have:

  1. Open wp-content → plugins (or themes).
  2. Choose Create → Upload files and add the zip.
  3. Choose ⋮ → Extract here on the zip, then delete the zip.
  4. Activate it from WordPress.

Download a copy of a folder

Folders can't be downloaded directly. Choose ⋮ → Compress on the folder, pick ZIP, then choose ⋮ → Download on the archive it creates. Delete the archive afterwards so it doesn't use up space.

Find what's using your disk space

Click the Size heading to sort the biggest items to the top, then open folders such as wp-content → uploads and delete what you no longer need.

File Manager or SFTP?

You want to…Use
Fix a line in a file, rename or move a few thingsFile Manager
Upload a few files up to 100 MB eachFile Manager
Check permissions or tidy up foldersFile Manager
Upload very large files (over 100 MB)SFTP
Move hundreds of files, or sync a whole siteSFTP
Use tools like Git, rsync or an IDESFTP

Limits

  • Uploads can be up to 100 MB per file and must finish within 10 minutes; slower uploads are cancelled automatically. A few files upload at a time and the rest wait their turn. For anything larger, or on a slow connection, use SFTP.
  • Files larger than 10 MB, and non-text files such as images, open for download only.
  • Compressing and unzipping are limited to 2 GB of uncompressed data.
  • Permissions can't include the special setuid, setgid or sticky bits, and you can't remove the owner's own read and write access (or execute on a folder), so you can't lock yourself out. Changes apply to the selected items only, not to everything inside a folder.

Deleting is permanent

Deleted files can't be undone from the File Manager. Create a backup first if you're unsure, especially before touching wp-config.php or anything in wp-admin or wp-includes.

Access

Everyone on every plan has the File Manager. On a team, a member needs the Browse and edit site files permission for the site. Because file access can change what the site runs, it is treated like full site control.

On this page

Try MagicWP free
  • Temporary sites
  • Free templates
  • Staging sites
  • Offsite backups
  • Team access
  • API tokens
  • PHP 8.5
Go to your dashboardManage your sites, backups and team