SUSE用VSFTP建FTP,XFTP连接上来报 listing remote folder failed

chtctc 2013-08-31 12:41:00
XFTP工具日志
STATUS:> Session started...
STATUS:> Resolving the host '219.174.16.215'...
STATUS:> Connecting to the server '219.174.16.215'...
220 (vsFTPd 2.0.7)
STATUS:> Authenticating for 'ylbusftp'...
COMMAND:> USER ylbusftp
331 Please specify the password.
COMMAND:> PASS ****
230 Login successful.
COMMAND:> PWD
257 "/wxhome/ftpdata/busftp/60010001"
STATUS:> Listing folder '/wxhome/ftpdata/busftp/60010001'...
COMMAND:> CWD /wxhome/ftpdata/busftp/60010001
250 Directory successfully changed.
COMMAND:> PWD
257 "/wxhome/ftpdata/busftp/60010001"
COMMAND:> TYPE A
200 Switching to ASCII mode.
COMMAND:> PASV
227 Entering Passive Mode (192,168,0,254,117,149)
ERROR:> Listing folder failed.

VSTP 配置
write_enable=YES
dirmessage_enable=YES
nopriv_user=ftpsecure
local_enable=YES
local_umask=022
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
anonymous_enable=NO
anon_world_readable_only=YES
anon_umask=022
syslog_enable=YES
connect_from_port_20=YES
pam_service_name=vsftpd
listen=YES
pasv_min_port=30101
pasv_max_port=30105
user_config_dir=/etc/vsftpd_user_conf

服务器已经映射 20 21 端口 ,被动模式下的30101-30105 端口也已经映射

远程ftp命令执行成功
linux-wx:~ # ftp 219.174.16.215 21
Connected to 219.174.16.215.
220 (vsFTPd 2.0.7)
Name (219.174.16.215:root): ylbusftp
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
ftp>
ftp> ls
229 Entering Extended Passive Mode (|||30104|)
150 Here comes the directory listing.
drwxrwxrwx 5 1002 113 4096 Aug 30 09:51 filedata
226 Directory send OK.
ftp> cd filedata
250 Directory successfully changed.
ftp> ls
229 Entering Extended Passive Mode (|||30103|)
150 Here comes the directory listing.
drwxrwxrwx 4 1002 113 4096 Aug 31 01:55 filedown
drwxrwxrwx 2 1002 113 4096 Aug 26 03:34 filehistory
drwxrwxrwx 4 1002 113 4096 Aug 31 01:55 fileup
226 Directory send OK.
ftp>

但是就是ftp工具XFTP连不上,真头大。

搞了2天了,没搞定,希望高手看看,谢谢
...全文
1410 3 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
狮子心2012 2014-04-18
  • 打赏
  • 举报
回复
一楼正解! 32个赞!
小糊涂神 2014-01-02
  • 打赏
  • 举报
回复
检查一下设置的ftp路径是否有中文
zhmx520 2013-09-19
  • 打赏
  • 举报
回复 1
XFTP出现Listing folder failed.主要是因为FTP mode不对,应该为主动连接模式,可以在设置host属性--选项页签--将默认勾选的“Use passive mode”(使用消极模式)的多选框取消。。。就可以了。。。

19,620

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧