LinuxSir.cn,穿越时空的Linuxsir!

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

ftp为什么无法使用呢?

[复制链接]
发表于 2005-3-29 09:08:11 | 显示全部楼层 |阅读模式
[zwp@kkk bin]$ ftp 192.168.100.x
Connected to 192.168.100.x.
220 ProFTPD 1.2.8 Server (ProFTPD Default Installation) [back.cpi.com.cn]
500 AUTH not understood
500 AUTH not understood
KERBEROS_V4 rejected as an authentication type
Name (192.168.100.x:zwp): username
331 Password required for username.
Password:
230 User gateway logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful
425 Unable to build data connection: Operation timed out

然后就不动了。
使用lftp也是一样。
但是ssh没有问题。请教这里的师傅了。多谢。
发表于 2005-3-29 09:25:33 | 显示全部楼层
FTP服务器用的是什么模式的.主动还是被动..
安装FTP服务器的机器是否设置了iptables什么的,不容许连20端口..还有就是proftp没配好..
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-29 09:40:31 | 显示全部楼层
Post by sunriver
FTP服务器用的是什么模式的.主动还是被动..
安装FTP服务器的机器是否设置了iptables什么的,不容许连20端口..还有就是proftp没配好..

服务器是可以连接的,因为用 flashfxp就可以连接,但是因为在linux下面编码,所以还是希望能用
ftp命令。
肯定是ftp的客户端有问题,我猜也许是代理没有设置对。但是不懂怎么设置。
上网都没有问题的。

就是命令行下的ftp无法使用。
回复 支持 反对

使用道具 举报

发表于 2005-3-29 19:46:01 | 显示全部楼层
关闭防火墙
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-30 10:18:16 | 显示全部楼层
防火墙已经关闭了。其实根本就没有开过。但是也不行。
$ ftp xxx.xxx.xxx.x
Connected to xxx.xxx.xxx.x.
220 ProFTPD 1.2.8 Server (ProFTPD Default Installation) [xxx.com.cn]
500 AUTH not understood
500 AUTH not understood
KERBEROS_V4 rejected as an authentication type
Name (219.239.115.4:zwp): username
331 Password required for username.
Password:
230 User gateway logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful
425 Unable to build data connection: Operation timed out
ftp>

服务器是freeBSD4.3
客户机是Mandrake10.1
通过代理上网操作的。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-4-1 11:30:52 | 显示全部楼层
没有人之道吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-4-5 09:07:40 | 显示全部楼层
没有人之道吗?
回复 支持 反对

使用道具 举报

发表于 2005-4-5 12:00:45 | 显示全部楼层
在ftp的命令行里,运行ls之前先运行passive,应该就是主动和被动模式引起的问题
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-4-6 10:37:24 | 显示全部楼层
Post by pandonny
在ftp的命令行里,运行ls之前先运行passive,应该就是主动和被动模式引起的问题

就是这个原因,多谢!
ftp已经可以使用。
另外,lftp的命令是什么呢?
是否有可以设置的文件?
十分感谢!
回复 支持 反对

使用道具 举报

发表于 2005-4-6 18:08:18 | 显示全部楼层
用lftp吧。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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