FTP upload with FileZilla on DirectAdmin Hosting

FTP (File Transfer Protocol) is the standard method for uploading files to a hosting server. It's ideal for transferring large numbers of files or entire directories where DirectAdmin's File Manager may be slow or inconvenient. FileZilla is the most popular free FTP client, supporting Windows, macOS, and Linux.

Download and Install FileZilla

Download the FileZilla Client (not Server) from filezilla-project.org. Choose the version for your OS and install normally — it's completely free.

Find Your FTP Credentials in DirectAdmin

Before connecting, you need four pieces of information. Find them in your Hosting welcome email or DirectAdmin:

Create a Separate FTP Account in DirectAdmin

To give developers access to specific folders only, create a separate FTP account: DirectAdmin → FTP Management → Create FTP Account. Set the path to restrict access to the designated folder.

Connect FileZilla for the First Time

Method 1 — Quickconnect (Fast)

Enter the details in the top bar of FileZilla and click Quickconnect:

Host:     ftp.yourdomain.com
Username: yourusername
Password: yourpassword
Port:     21

Method 2 — Site Manager (Recommended — saves credentials)

  1. Open File → Site Manager (or Ctrl+S)
  2. Click New Site and name it, e.g., "AsiaGB Hosting"
  3. Select Protocol: FTP or SFTP (if supported)
  4. Enter Host, Port, Username, and Password
  5. Logon Type: Normal (no password prompt each time)
  6. Click Connect

SFTP is more secure than FTP: SFTP (SSH File Transfer Protocol) encrypts all data in transit and uses port 22. If your hosting supports it, always prefer SFTP over plain FTP.

Understanding the Folder Structure

After connecting, the right panel (Remote Site) shows your hosting's directory structure:

Uploading Files

Drag and Drop

In the left panel (Local Site), navigate to your local files. Drag files or folders from the left panel and drop them into the target folder on the right. FileZilla begins uploading immediately.

Upload an Entire Folder

  1. Navigate to the folder in the left panel
  2. Right-click the folder → Upload
  3. FileZilla will transfer all files including subfolders

Monitor Queue and Transfer Status

Check the bottom panel: Queued files shows pending transfers, Successful transfers shows completed files, and Failed transfers lists errors (right-click → Retry to re-attempt).

Common Issues

Connection Timeout / ECONNREFUSED

Permission Denied When Uploading

.htaccess File Not Visible in FileZilla

Files starting with . are hidden by default. Fix this in FileZilla: Server → Force showing hidden files.

Alternatives to FTP: DirectAdmin includes a File Manager for quick single-file edits, and supports Git Deploy via SSH for developers — see our article on Git Deploy on Hosting.

SFTP vs FTP: Understanding the Security Difference

Many users treat FTP and SFTP as interchangeable — but there are important differences every web developer should understand:

Feature FTP (port 21) SFTP (port 22)
Encryption None Full SSH encryption
Password Security Sent as plain text (risky) Encrypted throughout
Firewall Friendly Active mode can cause issues Single port, no issues
Speed Slightly faster Slightly slower (encryption overhead)
Recommended For Legacy systems only All cases, especially production

All AsiaGB Hosting plans support SFTP on port 22. Switch from plain FTP by simply changing the Protocol setting in FileZilla's Site Manager — no additional configuration needed.

Advanced: Uploading via Command Line

For developers or teams who want to automate deployments rather than using a GUI, command-line tools offer a powerful alternative:

Upload a Single File with curl

# Upload a file via FTP
curl -T index.html "ftp://ftp.yourdomain.com/public_html/" \
  --user "yourusername:yourpassword"

# For SFTP, use rsync or scp instead

Sync an Entire Folder with rsync over SSH

# Sync entire local folder to hosting
rsync -avz --progress ./public/ \
  [email protected]:/home/yourusername/public_html/

# Sync only changed files (saves bandwidth)
rsync -avz --checksum ./public/ \
  [email protected]:/home/yourusername/public_html/

Automate your deploys: Add the rsync command to a shell script and trigger it from a Cron Job or CI/CD pipeline to auto-deploy every time you push code to your Git repository.

Setting File Permissions After Upload

Correct file permissions are critical for both website functionality and security. Here are the standard permission values:

Change Permissions in FileZilla

Right-click any file or folder in the Remote Site panel → File permissions → enter the numeric value and click OK. Check Recurse into subdirectories to apply permissions across an entire directory tree.

# Change permissions via SSH command line
find /home/yourusername/public_html -type f -exec chmod 644 {} \;
find /home/yourusername/public_html -type d -exec chmod 755 {} \;

Need Hosting with FTP/SFTP Support?

All AsiaGB Hosting plans include FTP, SFTP, and File Manager with free SSL. Starting at ฿500/year.

View Hosting Plans

View all cheap Thailand web hosting plans →