Ahosting Logo
Knowledge Base

How to Manage FTP Accounts in cPanel

FTP (File Transfer Protocol) allows you to upload and download files to your hosting account using FTP client software like FileZilla.

Your Main FTP Account

Your cPanel username and password also work as your main FTP account with full access to all files.

FTP connection details:

Host: ftp.yourdomain.com or server IP
Username: Your cPanel username
Password: Your cPanel password
Port: 21 (FTP) or 22 (SFTP)

Creating Additional FTP Accounts

Create limited FTP accounts for developers, designers, or specific folders:

  1. Log into cPanel
  2. Go to Files section
  3. Click FTP Accounts
  4. Fill in the form:
    • Log In: Username for the account
    • Domain: Select the domain
    • Password: Strong password
    • Directory: Folder this account can access
    • Quota: Storage limit (0 for unlimited)
  5. Click Create FTP Account

Directory Access Examples

Directory Setting Access
public_html Full website access
public_html/uploads Only uploads folder
public_html/client-site Only that specific site

Changing FTP Password

  1. Go to FTP Accounts
  2. Find the account in the list
  3. Click Change Password
  4. Enter new password
  5. Click Change Password

Changing FTP Quota

  1. Go to FTP Accounts
  2. Find the account
  3. Click Change Quota
  4. Enter new quota or select Unlimited
  5. Click Change Quota

Deleting FTP Account

  1. Go to FTP Accounts
  2. Find the account
  3. Click Delete
  4. Choose whether to delete the home directory
  5. Confirm deletion

Configuring FileZilla

  1. Download FileZilla from filezilla-project.org
  2. Open FileZilla
  3. Go to File > Site Manager
  4. Click New Site
  5. Enter:
    • Host: yourdomain.com
    • Protocol: FTP or SFTP
    • Encryption: Use explicit FTP over TLS
    • User: FTP username
    • Password: FTP password
  6. Click Connect

FTP vs SFTP

FTP SFTP
Port 21 Port 22
Unencrypted (use FTPS) Encrypted by default
Uses FTP accounts Uses cPanel/SSH credentials

Recommendation: Use SFTP for better security.

Troubleshooting

  • Connection refused: Check hostname and port
  • Login failed: Verify username includes @domain
  • Timeout: Try passive mode in FTP client
  • Cannot upload: Check folder permissions and quota