FTP error “530 Login authentication failed”

ftpftp-client

When I try to connect to my ftp server through firefox or IE I got this message:

530 Login authentication failed

Why I get this message?
User name and password are correct.

Are their any requirements that I need to do on the local machine before log into the ftp server?

I used ftp://example.com to log in.

Best Answer

You need to make some changes in /etc/vsftpd.conf, particularly you need to set

pam_service_name=ftp

If you want to set access by default for the /var/www directory for local users you can do that with

local_root=/var/www

If you require a different directory you need to change /var/www. After making changes to /etc/vsftpd.conf you need to restart the vsftpd server with

sudo service vsftpd restart
Related Topic