How to Setup FTP / SFTP Access in cPanel
This guide shows you how to create and use an FTP or SFTP account in cPanel. FTP/SFTP allows you to upload, download, and manage your website files using external software like FileZilla. SFTP is recommended as it provides a secure, encrypted connection.
Step-by-Step Instructions
Step 1: Login to cPanel
Access your hosting account and open your cPanel dashboard.
Step 2: Open FTP Accounts
Scroll to the Files section and click FTP Accounts.
Step 3: Create FTP Account
Enter a username, password, and choose the directory you want the account to access.
Step 4: Connect Using FTP or SFTP Client
Open FileZilla (or another client) and enter your hostname, username, password, and port. Use SFTP (recommended) on port 22 or 2302, or FTP on port 21.
Step 5: Transfer Files
Drag and drop files between your computer and the server to upload or download files.
FTP / SFTP Connection Details
Host
Your domain name (e.g. yourdomain.com) or server IP address.
Username
Your FTP username (usually email-style format).
Password
The password you set when creating the FTP account.
Port
SFTP: 22 or 2302 (recommended)
FTP: 21
Common Issues & Fixes
Connection Failed
Check your hostname, username, password, and correct port are being used.
Timeout Errors
Try switching between active and passive mode (FTP) or use SFTP instead.
Permission Denied
Ensure your FTP account has access to the correct directory.
When to Use FTP / SFTP
FTP/SFTP is especially useful when managing larger websites or uploading many files at once. SFTP is recommended for better security.
Large Uploads
Upload multiple files faster than using File Manager.
Frequent Updates
Ideal for developers or regular site changes.
Full Site Transfers
Move entire websites between servers easily.