FTP/SFTP Connection Troubleshooting
This guide helps resolve common FTP and SFTP connection problems.
FTP Connection Settings
| Setting | FTP | SFTP |
|---|---|---|
| Host | ftp.yourdomain.com or your domain | ssh.yourdomain.com or server IP |
| Port | 21 | 22 |
| Username | FTP username from Plesk | Same as FTP |
| Encryption | FTP over TLS (explicit) | Built-in SSH encryption |
Issue 1: Connection Refused or Timeout
Check These First:
- Correct hostname: Use your domain name or server IP
- Correct port: FTP uses 21, SFTP uses 22
- Firewall: Your local firewall may block outgoing connections
- ISP blocking: Some ISPs block port 21
FileZilla Settings:
- Open Site Manager (File > Site Manager)
- Protocol: FTP - File Transfer Protocol
- Encryption: Use explicit FTP over TLS if available
- Logon Type: Normal
Issue 2: Authentication Failed
Find/Reset FTP Credentials:
- Log into Plesk
- Go to Websites & Domains
- Click FTP Access
- View existing FTP accounts or create a new one
- Reset password if needed
Username Format:
- Use the full FTP username as shown in Plesk
- Format may be:
usernameorusername@domain.com - Username is case-sensitive
Issue 3: Directory Listing Failed
Switch Transfer Mode:
In FileZilla:
- Go to Edit > Settings
- Select Connection > FTP
- Change Transfer Mode to Passive
Firewall Configuration:
- Passive mode requires firewall to allow dynamic ports
- Active mode requires incoming connections (often blocked)
- Passive mode is recommended for most situations
Issue 4: SSL/TLS Certificate Errors
Certificate Warning:
If you see a certificate warning:
- Verify the server name matches your hosting
- Click OK to trust the certificate
- Optionally check "Always trust this certificate"
Disable Certificate Verification (not recommended):
In FileZilla Site Manager:
- Encryption: Only use plain FTP (insecure)
- Use only for testing, not production
Issue 5: File Upload Errors
Permission Denied:
- Verify FTP account has write permissions
- Check if uploading to correct directory
- Disk space may be full - check hosting quota
File Already Exists:
- Choose overwrite action in FTP client
- Delete existing file first if needed
Issue 6: Cannot Connect via SFTP
SFTP Requirements:
- SFTP may not be available on all hosting plans
- Contact support to verify SFTP access
- Uses SSH (port 22), different from FTP
FileZilla SFTP Settings:
- Site Manager > New Site
- Protocol: SFTP - SSH File Transfer Protocol
- Port: 22
- Logon Type: Normal
Recommended FTP Clients
- FileZilla (Windows/Mac/Linux) - Free, feature-rich
- WinSCP (Windows) - Free, supports SFTP/SCP
- Cyberduck (Mac/Windows) - Free, user-friendly
Quick Troubleshooting Checklist
- ☐ Correct hostname and port
- ☐ FTP account exists in Plesk
- ☐ Using correct username format
- ☐ Password is correct (reset if unsure)
- ☐ Passive mode enabled
- ☐ Local firewall allows FTP
- ☐ TLS/encryption settings match server