Here we will cover how to solve an authentication error when trying to connect to a server via FTP. The exact FTP output and error are as follows:
Command: USER example@domain.com
Response: 331 User example@domain.com OK. Password required
Command: PASS ************
Response: 530 Login authentication failed
Error: Critical error: Could not connect to server
Related Articles
Create FTP Account
Connect via FTP and Upload Files via FileZilla
Check FTP/SFTP Logs
Verify the credentials being used
- Make sure to have all of the following credentials entered in the FTP client:
- Host - Server IP
NOTE: The server IP can be obtained from cPanel in the "General Information" section on the side of the screen.
Example: - Username - FTP user's username or cPanel username
- Password - FTP user's password or cPanel password
- Port - 21
- Host - Server IP
- After verifying these credentials, attempt to connect again using the FTP client
- If the authentication error persists, reset the FTP account password through cPanel
- If you are using the cPanel account as the FTP user, reset the cPanel account password
- Try connecting again
Comments
0 comments
Article is closed for comments.