安装好proftpd,新建了用户用于上传文件,出现如下错误:
WinSock 2.0 -- OpenSSL 0.9.8g 19 Oct 2007
[左] 正在连接到 wifishare.xda.cn -> IP=x.x.x.x PORT=21
[左] 已连接到 ftp.test.cn
[左] 220 ProFTPD 1.3.3 Server (ProFTPD ftp.tst.cn) [x.x.x.x]
[左] USER wifishare
[左] 331 Password required for wifishare
[左] PASS (隐藏)
[左] 530 Login incorrect.
[左] 连接失败
[左] 正在延迟 120 秒, 之后将尝试第 1 次重新连接
 
在关闭了防火墙,排除了用户名/密码错误之后,开启日志查看
SystemLog /var/log/proftpd/proftpd.log
 
tailf /var/log/proftpd/proftpd.log
Mar 13 15:29:04 localhost.localdomain proftpd[20255] localhost (x.x.x.x[x.x.x.x]): FTP session opened.
Mar 13 15:29:04 localhost.localdomain proftpd[20255] localhost (x.x.x.x[x.x.x.x]): USER wifishare (Login failed): Limit access denies login
Mar 13 15:29:04 localhost.localdomain proftpd[20255] localhost (x.x.x.x[x.x.x.x]): FTP session closed.
Mar 13 15:30:27 localhost.localdomain proftpd[20249] localhost: ProFTPD killed (signal 15)
Mar 13 15:30:27 localhost.localdomain proftpd[20249] localhost: ProFTPD 1.3.3 standalone mode SHUTDOWN
Mar 13 15:30:29 localhost.localdomain proftpd[20274] localhost: ProFTPD 1.3.3 (stable) (built ?o” 12??? 30 2011 17:04:53 CST) standalone mode STARTUP
 
限制了登录的用户了,需要在配置里面放开权限

  Order allow,deny
  AllowUser wifishare
  DenyUser !lighttpd
 
重启proftp,重新登录,ok啦