Contents
There’s more than one way into your site’s files, and each suits a different job. File Manager works in the browser with nothing to install, FTP is better for moving lots of files, and Git suits anyone who develops the site continuously. This guide covers the first two in detail, along with their most common problems.
Which method when?
| Method | Good for | Needs |
|---|---|---|
| File Manager | Editing a file, uploading and extracting a ZIP, changing permissions | Just a browser |
| FTP | Moving big folders or thousands of files | A client like FileZilla and an FTP account |
SFTP or rsync |
Secure transfers and fast syncing | SSH access |
| Git | Deploying updates from a repository | A Git repo and deploy setup |
Before you start
- Access to cPanel.
- For FTP: FileZilla or another FTP client on your computer.
- The right folder for your site, which is
public_htmlfor the main domain.
Working in File Manager
1. Open File Manager and learn the folders
Open Files » File Manager. The main things you’ll see:
public_html: the main site’s files; everything here is reachable by visitors.public_html/.well-known: used by the SSL system to verify your domain; don’t delete it.mail: mailbox data; don’t edit it by hand.tmp: temporary files that can grow over time.
2. Show hidden files
Click Settings at the top right, tick Show Hidden Files (dotfiles), then Save. You’ll now see files like .htaccess and .env.
3. Upload and extract
- Open the target folder and click Upload, then pick files or drag them onto the page.
- To upload a whole site, send it as a single ZIP, then right-click it and choose Extract.
- To download a folder, select it, choose Compress as a Zip Archive, and download the result.
The full steps for uploading a site are in the HTML upload guide.
4. Edit a file safely
Make a copy first: select the file, click Copy and name it something like wp-config.php.bak. Then right-click the file, choose Edit, make your change and click Save Changes. Save files as UTF-8 so Arabic and other non-Latin text doesn’t turn into garbage characters.
5. Set permissions
Select a file or folder and click Permissions:
| Type | Usual permission |
|---|---|
| Files | 644 |
| Folders | 755 |
Sensitive config files such as wp-config.php |
640 or 600 |
Use the chmod calculator to understand the numbers, and never use 777.
6. Delete and restore from the trash
Deleted items go to the trash unless you tick Skip the trash and permanently delete the files. To bring one back, open View Trash and click Restore. Files in the trash still count against your space, so use Empty Trash once you’re sure.
Connecting with FTP
7. Create an FTP account
Open Files » FTP Accounts and fill in:
- Log In: a name like
dev, so the full username becomes[email protected]. - Password: a strong password.
- Directory: the folder this account can reach, such as
public_html, so it can’t see all your files. - Quota: an optional space limit.
Then click Create FTP Account.
8. Connect with FileZilla
In FileZilla open File » Site Manager » New Site and enter:
Protocol: FTP - File Transfer Protocol
Host: ftp.example.com
Port: 21
Encryption: Require explicit FTP over TLS
Logon Type: Normal
User: [email protected]
Password: ********
Click Connect. If a certificate window appears, check it’s issued to the server’s or domain’s name, then accept it.
9. Transfer files
The left side is your computer, the right side is the server. Drag files into the correct folder and watch the Failed transfers tab at the bottom to retry anything that failed.
Troubleshooting
530 Login authentication failed: the username must be the full[email protected], or the password is wrong. Reset it under FTP Accounts » Change Password.- Timeouts or
Failed to retrieve directory listing: a firewall or router is blocking passive mode. Under Edit » Settings » Connection » FTP choose Passive, or try another network; some ISPs block port 21. Permission deniedwhen writing: folder permissions don’t allow it, or your disk is full. See fixing Permission denied and fixing disk quota exceeded.- Uploaded files don’t show on the site: they probably went into the account’s home folder instead of
public_html. - A 500 error after editing a file: restore the
.bakcopy and check the latest errors under Metrics » Errors.
On ArabyHost
cPanel and File Manager open with one click from the Araby Panel, and you can upload your site as a ZIP and extract it as above. If you develop continuously, deploy from GitHub through Git Version Control and a .cpanel.yml file as in deploy from GitHub, or from Claude and Cursor through Araby MCP as in connect Claude to your hosting. AI/Developer plans include SSH jailed in CageFS, so you can move files with SFTP or rsync; see the SSH access guide. Other plans don’t include SSH. Every account is isolated with CageFS, and daily JetBackup backups cover you if you delete a file by mistake.
FAQ
What's the difference between FTP and SFTP?
FTP is an older file transfer protocol, usually on port 21, and needs TLS turned on to encrypt your password and data. SFTP runs over SSH and is always encrypted, but requires an account with SSH access.
Why can't I see .htaccess in File Manager?
Files starting with a dot are hidden by default. Open Settings in File Manager and tick Show Hidden Files (dotfiles).
What are the right permissions for website files?
Usually 644 for files and 755 for folders. Never use 777, which lets any process on the server write to your files.