How to upload files with the DirectAdmin File Manager
Upload, edit, move and delete website files in your browser with DirectAdmin’s File Manager, including hidden files and bulk operations.
On this page
The File Manager is the quickest way to upload a small site or edit a file without installing anything.
Opening it
Open System Info & Files › File Manager. Go to domains/yourdomain.co.uk/public_html. Where to upload your website: public_html explained
Uploading files
- Open the destination folder.
- Select Upload.
- Drag files onto the upload area, or browse for them.
- Wait for every file to finish before leaving the page.
For more than a handful of files, upload a zip and extract it on the server. How to upload and extract a zip file
Editing a file
Select the file, choose Edit, change it and save. Useful for .htaccess, wp-config.php and small HTML or PHP changes.
Tip: Copy the original first (select the file and choose Copy, naming it file.bak), and delete the copy once you know the change works.
Other operations
- New folder / new file
- Move, copy, rename, delete — select several files with the checkboxes
- Permissions — File permissions explained (644, 755 and why never 777)
- Compress — create a zip of selected items, handy before downloading How to download files from your hosting account
Hidden files
Files starting with a dot, such as .htaccess, may be hidden. How to show hidden files like .htaccess
When to use FTP or SFTP instead
For hundreds of files, regular syncing, or large uploads over an unreliable connection, an SFTP app handles retries and folder syncing better. Connecting with FileZilla (FTP and SFTP)
Prefer to follow along?
- Upload a website you’ve built
Beginner · 15 min
If it doesn’t work
These guides cover the most common problems, starting with what you can see. Or browse every fix for a common problem.
- FTP connection failed: how to fix itFix FTP login failures, timeouts and ‘failed to retrieve directory listing’ with the right host, username format, encryption and passive mode.
- SFTP connection failed: how to fix itFix SFTP errors — authentication failure, connection refused, timeouts and host key warnings — including which login SFTP uses.
- “Permission denied” and files that won’t save or uploadFix uploads and saves failing with permission errors in WordPress, apps and FTP, without resorting to unsafe 777 permissions.
- 403 Forbidden: how to fix itWhy the server refuses access with a 403 — missing index file, permissions, .htaccess rules or security blocks — and how to fix each one.
Common questions
How do I edit a file without downloading it?
Open System Info & Files › File Manager, find the file and use the edit option — it opens in a text editor in the browser and saves straight back to the server. This is the quickest way to make a small change to .htaccess, wp-config.php or a stylesheet.
Copy the file first if you are editing anything the site depends on. A syntax error in .htaccess takes the whole site down with a 500 error immediately, and having the original to put back turns a crisis into a thirty-second fix.
How do I upload my website?
Put your files in the public_html folder, either with the File Manager in DirectAdmin or over FTP. Your homepage must be named index.html or index.php, and it goes in the top level of public_html, not in a subfolder.
For a handful of files the File Manager is quickest — upload a zip and extract it in place. For a whole site, or for regular updates, an FTP client like FileZilla is easier to work with.
Why does WordPress say “Sorry, this file type is not permitted for security reasons”?
WordPress only accepts a fixed list of file types in the media library, and yours is not on it. For fonts, archives or unusual formats, upload the file over FTP or the File Manager and link to it directly rather than going through the media library.
Spotted something out of date or unclear? Tell us and we’ll fix it.