LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 678|回复: 2

请教关于proftpd的问题。

[复制链接]
发表于 2004-12-15 22:44:04 | 显示全部楼层 |阅读模式
我的proftpd能登陆,能建立文件夹,但是只要一ls就出问题
Name (localhost:root): danyja
331 Password required for danyja.
Password:
230 User danyja logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> mkdir aaa
257 "/aaa" - Directory successfully created
ftp> pwd
257 "/" is current directory.
ftp> cd aaa
250 CWD command successful
ftp> pwd
257 "/aaa" is current directory.
ftp> ls
227 Entering Passive Mode (127,0,0,1,128,41).
421 Service not available, remote server has closed connection
ftp>
发表于 2004-12-16 08:42:14 | 显示全部楼层
使用主动模式(port mode)试试!
发表于 2004-12-16 20:48:24 | 显示全部楼层
在proftpd.conf里设置Passive Mode的端口
在防火墙上开放这些端口
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表