Author Topic: Urgent: FTP Access Issue – Error 530 Unaccepted Server Reply  (Read 214 times)

0 Members and 2 Guests are viewing this topic.

Offline
*
Urgent: FTP Access Issue – Error 530 Unaccepted Server Reply
« on: February 09, 2025, 02:42:54 AM »
I am experiencing an issue while trying to access my FTP server to upload files. Each time I attempt to log in, I receive the following error message:

Error: EElFTPSUnacceptedReplyError: Unaccepted server reply code 530 to command PWD

This suggests an authentication issue, but I have verified that my login credentials are correct. I would appreciate your assistance in resolving this as soon as possible.

Additional Details:

FTP Client: [Specify the FTP client you are using, e.g., FileZilla, WinSCP, etc.]
Server Address: [Provide your FTP server address]
Username: [Your FTP username]
Protocol: [Specify whether you are using FTP, FTPS, or SFTP]
Port: [Specify the port number, e.g., 21 for FTP, 990 for FTPS, 22 for SFTP]
Error Occurs: [On initial login or when executing a specific command?]
I have already attempted the following troubleshooting steps without success:

Verified my username and password.
Tried both active and passive mode.
Checked firewall settings.
Restarted my FTP client and router.
Could you please check if my account has the necessary permissions and confirm if the FTP server is functioning correctly? If there are any logs available that could provide more insights, please let me know.

Offline
*****
Re: Urgent: FTP Access Issue – Error 530 Unaccepted Server Reply
« Reply #1 on: February 09, 2025, 03:06:05 AM »
CWP uses pure-ftpd for FTP services -- I've not seen your very specific error before. But here is a basic rundown on the general 530 error code as it pertains to pure-ftpd:
https://bobcares.com/blog/why-you-get-530-login-authentication-failed-in-your-cpanel-pure-ftpd-ftp-server/
Do you have the FTP port and PASV mode port range open in the CSF firewall?

Offline
***
Re: Urgent: FTP Access Issue – Error 530 Unaccepted Server Reply
« Reply #2 on: February 09, 2025, 10:29:34 AM »
Hi,

Overseer is right. The problem is caused by the firewall or you use "active ftp" mode.

So make sure your FTP client uses "Passive FTP" and the ports listed as "PassivePortRange" in the file:
/etc/pure-ftpd/pure-ftpd.conf
are opened in your firewall.

If you use CSF then check the settings of "TCP_IN", "TCP_OUT":
/etc/csf/csf.conf

In other words if "PassivePortRange" is:

Code: [Select]
PassivePortRange 35000 40000
then "35000:40000" me be in "TCP_IN" and "TCP_OUT" of the file /etc/csf/csf.conf