vsftp users can log in, but then can't ls or anything!
I have an FTP server, where the users are able to log in, but then when they do a ls, they get a 425 Failed to establish connection after a short pause. Any ideas?
|
FTP uses two ports:
1. 21 2. 20 Port 20 is used for DATA transfer. Please check that your firewall if any doesn't block it, furthermore, check that chroot_local_user markes as YES in /etc/vsftpd/vsftpd.conf Let me know if it helped Dennis. |
Actually, its weird, if I try to ftp from a command prompt, i get a "200 PORT command successful. Consider using PASV" then the 425. but if i connect with Filezilla, everything works.
I tried turning off iptables and still a no go. so it must be client related, although they've been using the same client all along, i wonder what changed |
Quote:
Dennis. |
I'm talking about the client though will connect to my vsftp server, but the windows command prompt ftp client is having the issue.
|
Try passive mode, if the client supports it. In your vsftp, specify pasv_enable=yes, and a min and max port range. For example:
Code:
pasv_enable=YES |
thanks
|
This is a good link about active vs passive; maybe a good background read http://slacksite.com/other/ftp.html
|
Thanks everyone, I think I'm good for now on this, closing the thread.
|
All times are GMT -5. The time now is 04:16 AM. |