How to create an FTP account In cPanel

File Transfer Protocol - Secure File Transfer Protocol

With simple steps, enabling secure file uploads

and smooth website management using top FTP clients

Updated: June 4, 2025
By: RSH Web Editorial Staff

Contact Us

Menu

File Transfer Protocol

Creating an FTP account in cPanel allows you to securely transfer files between your local computer and your web server, making it essential for website management tasks like uploading content, performing backups, or managing directories. Unlike using cPanel’s File Manager, which requires uploading files individually, FTP accounts enable batch transfers and integration with FTP clients like FileZilla or WinSCP. This guide provides step-by-step instructions to create, configure, and manage FTP accounts in cPanel, along with security best practices, use cases, and troubleshooting tips for seamless file management.

How to Set Up an FTP Account in cPanel With easy steps, enabling secure file transfers

Why Create an FTP Account in cPanel?

FTP accounts allow you to manage website files efficiently and securely. By default, your cPanel account’s primary username and password provide full FTP access to your server’s home directory. However, creating separate FTP accounts offers several advantages:

  • Restricted Access: Limit users (e.g., developers or team members) to specific directories, protecting sensitive areas like email or configuration files.
  • Security: Use SFTP ( Secure FTP Transfers over SSH) or FTPS (FTP over SSL/TLS) for encrypted transfers, safeguarding sensitive data. Securing FTP Transfers with SFTP
  • Efficiency: Enable batch file uploads/downloads and automation through FTP clients or scripts. Automating File Transfers with FTP Scripts
  • Collaboration: Provide temporary or role-based access for team members without sharing cPanel credentials.

Prerequisites for Creating an FTP Account

Before setting up an FTP account, ensure you have:

  • cPanel Access: Log in to your cPanel account using the URL, username, and password provided by your hosting provider (e.g., RSH Web Services). If you’ve lost this information, check your hosting provider’s welcome email or client area.
  • Domain Information: Know the domain or subdomain you want to associate with the FTP account.
  • FTP Client (Optional): Install an FTP client like FileZilla, WinSCP, or Cyberduck to use the account after creation. Choosing the Right FTP Client
  • Secure Connection: Verify your hosting provider supports SFTP/FTPS for secure transfers, as standard FTP is unencrypted and vulnerable. How to Use SFTP with cPanel

Step-by-Step Guide to Creating an FTP Account in cPanel

Follow these steps to create an FTP account in cPanel for secure file management:

  1. Log in to cPanel
    Access your cPanel account via the provided URL (e.g., https://yourdomain.com/cpanel). Enter your cPanel username and password. If you encounter login issues, contact your hosting provider.
  2. Navigate to FTP Accounts
    - In the cPanel dashboard, locate the Files section.
    - Click the FTP Accounts icon to open the FTP Accounts interface. FTP Connections Interface
  3. Add a New FTP Account
    - Under the Add FTP Account section, fill in the following fields:
    - Log In: Enter a username for the FTP account (e.g., newuser). The username will be formatted as newuser@yourdomain.com for the selected domain. Avoid spaces or special characters.
    - Domain: Select the domain or subdomain from the dropdown menu if you manage multiple domains.
    - Password: Enter a strong password or use cPanel’s Password Generator for a secure, random password. Confirm the password in the next field.
    - Directory: Specify the home directory for the FTP account (e.g., public_html or public_html/subfolder). The account will only have access to this directory and its subdirectories. For example, entering public_html/newuser restricts access to /home/username/public_html/newuser.
    - Quota: Set a disk space limit (in MB) or select Unlimited. For most websites, a quota of 500–1000 MB is sufficient for specific tasks like uploads.
    - Note: The directory path is relative to your cPanel account’s home directory (e.g., /home/username
  4. Create the FTP Account
    - Click Create FTP Account. The new account will appear in the FTP Accounts table, listing the username, directory, quota, and options to manage the account.
  5. Verify and Use the Account
    - The account is now ready to use with an FTP client. Note the login details: username@yourdomain.com, password, hostname (e.g., ftp.yourdomain.com), and port (FTP: 21, SFTP: typically 22, confirm with your host).
    - Download the configuration file for supported FTP clients (e.g., FileZilla, WinSCP) from the FTP Accounts table by clicking Configure FTP Client. This file auto-configures the client with your settings.

Managing FTP Accounts in cPanel

After creating an FTP account, you can manage it from the FTP Accounts table in cPanel:

  • Change Password: Click Change Password to update the FTP account’s password or use the Password Generator for a secure one. Note: Changing the main cPanel password updates the primary FTP account’s password.
  • Adjust Quota: Modify the disk space quota by clicking Change Quota to set a new limit or select Unlimited.
  • Delete Account: Remove unneeded FTP accounts by clicking Delete and confirming. This does not delete the associated files but revokes FTP access.
  • Monitor Connections: Use the FTP Connections interface to view active FTP sessions and terminate unauthorized connections. FTP Connections Interface

Special FTP Accounts

cPanel automatically creates two special FTP accounts that cannot be modified or deleted:

  • Primary FTP Account: Uses your cPanel username and password, granting full access to the home directory (/home/username). Always use SFTP for this account to secure sensitive files.
  • Log Access Account: Allows downloading Raw Access logs for your website, accessible via SFTP.

Tip: For security, avoid using the primary FTP account for routine tasks. Create dedicated accounts with restricted directory access instead.

Connecting to Your FTP Account

Once created, connect to your FTP account using an FTP client or other methods:

  • FileZilla: Open-source, supports FTP/FTPS/SFTP
  • WinSCP: Windows-based, ideal for SFTP scripting
  • Fetch: A macOS FTP client, supports FTP/FTPS/SFTP
  • Commander One: macOS dual-pane client for FTP/SFTP
  • Cyberduck: Cross-platform, supports multiple protocols
  • Web Browser: Access FTP using a browser (e.g., ftp://ftp.yourdomain.com) with your FTP credentials, though this is less secure and not recommended.
  • Security Best Practices

    Protect your FTP account and data with these practices:

    • Use SFTP or FTPS: Encrypt transfers to prevent interception. SFTP uses SSH (port 22), while FTPS uses SSL/TLS (port 21). The FBI (2023) warns against unencrypted FTP due to security risks. Securing FTP Transfers
    • Strong Passwords: Use cPanel’s Password Generator to create complex passwords and store them securely.
    • Restrict Directory Access: Limit FTP accounts to specific directories (e.g., public_html/subfolder) to protect sensitive files.
    • Monitor Usage: Use cPanel’s Webalizer FTP to track FTP activity and detect unauthorized access. Webalizer FTP
    • Secure Hosting: Choose a provider like RSH Web Services with SSD hosting, free SSL, and DDoS protection.

    Troubleshooting FTP Account Issues

    Common issues and solutions include:

    • Login Failures: Verify username (e.g., newuser@yourdomain.com), password, hostname, and port. Ensure SFTP/FTPS settings match your client configuration. Troubleshooting FTP Connection Issues
    • Directory Access Errors: Confirm the directory path is correct and exists in cPanel’s File Manager. Adjust permissions (e.g., 755 for directories, 644 for files).
    • Quota Exceeded: Increase the quota or clean up files if transfers fail due to space limits. Disk Usage
    • Firewall Issues: Enable Passive mode in your FTP client or check with your host for firewall settings.

    By creating and managing FTP accounts in cPanel, you can streamline website file management with enhanced security and flexibility. Use these steps to set up accounts and connect with your preferred FTP client for efficient workflows.

    cPanel Learning Resources and How-To Instructions
    Industry leading Linux-based website hosting control panel

    Tweet  Share  Pin  Email

    Add Comment

    * Required information
    Drag & drop images (max 3)

    Comments

    No comments yet. Be the first!

    Inspired by our skilled copywriters

    RSH Web Services offers a wide range of hosting services customized to match your needs, whether you are looking for a personal, professional or business website. Get the full functionality of your hosting services and better control over your site with cPanel