zlyon 发表于 2017-4-1 14:27:19

LNMP 1.3 pureftpd 无法获取目录

通过 lnmp ftp add 添加用户
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|            http://lnmp.org            |
+-------------------------------------------+
Enter ftp account name: webuser
Enter password for ftp account liuweijun: 123456
Enter directory for ftp account liuweijun: /home/wwwroot/   
Password:
Enter it again:
Created FTP User: webuser Sucessfully.


FTP工具日志:
响应:220---------- Welcome to Pure-FTPd ----------
响应:220-You are user number 5 of 50 allowed.
响应:220-Local time is now 14:25. Server port: 21.
响应:220-This is a private system - No anonymous login
响应:220 You will be disconnected after 15 minutes of inactivity.
命令:USER webuser
响应:331 User webuser OK. Password required
命令:PASS ****************
响应:230 OK. Current directory is /
状态:连接成功
命令:OPTS UTF8 OFF
响应:502 Unknown command
状态:正在取得目录列表...
命令:PWD
响应:257 "/" is your current location
命令:PASV
响应:227 Entering Passive Mode (10,0,1,41,79,169)
命令:TYPE A
响应:200 TYPE is now ASCII
命令:LIST
错误:无法打开传输通道。原因:由于连接方在一段时间后没有正确答复或连接的主机没有反应,连接尝试失败。
错误:无法取得目录列表

service iptables stop 问题依旧
centos 5.8 阿里云服务器,安全组设置全部端口全开放

licess 发表于 2017-4-1 20:41:54

连接模式换成主动模式试试
页: [1]
查看完整版本: LNMP 1.3 pureftpd 无法获取目录