Chinaunix

标题: suse9的ftp不能传输数据的问题。 [打印本页]

作者: ayl    时间: 2006-06-29 11:46
标题: suse9的ftp不能传输数据的问题。
经过一番折腾后终于可以从远程ftp到susu9了,可是在传输数据的时候却出现错误:

D:\work>ftp 192.168.103.20
Connected to 192.168.103.20.
220---------- Welcome to Pure-FTPd [TLS] ----------
220-You are user number 1 of 50 allowed.
220-Local time is now 18:50. Server port: 21.
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
User (192.168.103.20none)): root
331 User root OK. Password required
Password:
230-User root has group access to:  root
230 OK. Current directory is /root
ftp> cd /data
250 OK. Current directory is /data
ftp> bi
200 TYPE is now 8-bit binary
ftp> put eGrail-Source-2.5.0.tar(1).gz
500 I won't open a connection to 192.168.100.207 (only to 10.102.9.15)
425 No data connection
ftp>

到suse9上去看了一下,只产生一个跟我要传输的文件名字相同的一个空文件。


请问这是为什么,是不是suse9有什么设置不对的地方?
作者: kenduest    时间: 2006-06-29 11:57
原帖由 ayl 于 2006-6-29 11:46 发表
经过一番折腾后终于可以从远程ftp到susu9了,可是在传输数据的时候却出现错误:

D:\work>ftp 192.168.103.20
ftp> put eGrail-Source-2.5.0.tar(1).gz
500 I won't open a connection to 192.168.100.207 (only to 10.102.9.15)
425 No data connection
ftp>
到suse9上去看了一下,只产生一个跟我要传输的文件名字相同的一个空文件。
请问这是为什么,是不是suse9有什么设置不对的地方?


应该是你的 client 端有在 nat 内,然后没有 nat ftp helper 处理掉 active mode 的问题。

换个 ftp client 用 passive mode 测试,因为 windows 内建的 ftp 程式没支援 passive mode ( only active ).

==
作者: ayl    时间: 2006-06-29 11:58
对的。我刚才用cuteftp就可以了。谢谢。




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2