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.

Guide2 min readLast updated
On this page
  1. Opening it
  2. Uploading files
  3. Editing a file
  4. Other operations
  5. Hidden files
  6. When to use FTP or SFTP instead
  7. If it doesn’t work
  8. Common questions

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

  1. Open the destination folder.
  2. Select Upload.
  3. Drag files onto the upload area, or browse for them.
  4. 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

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?

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.

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.

Keep going