ABSPATH (the WordPress root directory). A split-pane layout shows the file tree on the left and a Monaco Editor on the right when a file is open.
Filesystem browser
The left panel shows directories and files sorted with directories first, then files alphabetically. Each entry displays:- File name and size (for files)
- A Read-only badge when the file or directory is not writable by the web server
- Rename and delete action buttons (visible on hover)
Toolbar actions
| Button | Action |
|---|---|
| Upload File | Upload a single file to the current directory |
| New Folder | Create a new directory inside the current directory |
| Refresh | Re-fetch the current directory listing |
Editing files with Monaco Editor
Clicking any file opens it in the Monaco Editor panel on the right. The editor uses the VS Code engine and provides:- Full syntax highlighting for PHP, JavaScript, TypeScript, CSS/SCSS, JSON, XML, YAML, HTML, SVG, and Markdown
- Word wrap enabled by default
- Automatic layout adjustment when the panel is resized
- A status bar at the bottom showing the full file path and line count
Files larger than 2 MB cannot be opened in the editor. Attempting to open an oversized file returns an error. Use an external tool for large files such as database exports or build artifacts.
File operations
Uploading a file
Renaming a file or folder
Click the rename icon
Click the Pencil icon. A Rename dialog opens pre-filled with the current name.
Creating a directory
Deleting a file or folder
Security protections
The File Manager enforces several server-side security controls:- Path traversal prevention — all paths are resolved with
realpath()and verified to start withABSPATHbefore any read, write, or delete operation. Requests for paths outsideABSPATHreceive a403 Forbiddenresponse. - Critical file guard — the files
wp-config.php,.htaccess, andindex.phpat the WordPress root are protected. Delete and rename requests for these files are rejected. - 2 MB read limit — files larger than 2 MB cannot be loaded into the editor to prevent memory exhaustion.
