This site contains affiliate links — we may earn a commission if you sign up through them. Details
Guide · FTP & File Management

What is FTP? How to Upload Files via FTP on Thai Hosting 2026

What is FTP? How to Upload Files via FTP on Thai Hosting 2026

FTP (File Transfer Protocol) is the standard method for transferring files between your computer and a web hosting server. Website owners use FTP to upload HTML files, images, PHP scripts, and other content directly to their hosting account. This guide covers everything from basic FTP setup to secure SFTP usage on Thai hosting.

FTP vs SFTP vs FTPS: What's the Difference?

Recommendation: Always use SFTP when your hosting supports it (usually port 22). It's as easy to use as FTP but far more secure.

Connecting with FileZilla

FileZilla is the most popular free FTP/SFTP client, available for Windows, Mac, and Linux.

  1. Download FileZilla from filezilla-project.org
  2. Open FileZilla → Fill in the Quickconnect bar at the top:
    Host: ftp.yourdomain.com (or your server hostname)
    Username: Your FTP username from hosting
    Password: Your FTP password
    Port: 21 (FTP/FTPS) or 22 (SFTP)
  3. Click Quickconnect
  4. Left panel = files on your computer. Right panel = files on the server.
  5. Drag files from left to right to upload, or right to left to download.
RecommendedAsiaGB.com — Web Hosting & VPS we recommend. Servers in Thailand & Singapore, SSD storage, DirectAdmin control panel, 24/7 Thai-language support, 99% uptime.

Based in Thailand, ideal for Thai websites and businesses.

Visit AsiaGB →

Creating FTP Accounts in DirectAdmin

  1. Login to DirectAdmin → Extra Features → FTP Management
  2. Click Create FTP Account
  3. Enter Username, Password, and Home Directory (the folder this FTP account can access)
  4. Click Create

Best practice: Create separate FTP accounts for each developer or contractor, with Home Directory limited to only the folders they need access to. This principle of least privilege prevents unauthorized access to other files.

File Permissions (chmod)

File permissions define who can read, write, or execute files. Linux/Unix permissions use three-digit numeric codes:

Basic FTP Commands (Command Line)

ftp ftp.yourdomain.com # Connect
ls    # List files
put file.html  # Upload file
get file.html  # Download file
bye   # Disconnect

Frequently Asked Questions

I forgot my FTP password — what do I do?

Go to DirectAdmin → FTP Management → Edit the account → Set a new password. No need to contact support — you can reset it yourself instantly.

I uploaded a file via FTP but the website isn't updated — why?

Try a hard browser refresh (Ctrl+Shift+R). If you're using Cloudflare or a CDN, clear the cache there as well. CDN caches can serve old file versions for hours after an upload.

What port does SFTP use?

SFTP operates over SSH and uses port 22 by default — different from FTP's port 21. In FileZilla, change the port to 22 and select SFTP as the protocol type.

Why can't I connect via FTP?

Common causes: wrong username or password, FTP access not enabled in hosting panel, firewall blocking port 21, wrong hostname. If behind a NAT/firewall, try enabling Passive Mode in your FTP client settings.