LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: ross

可悲啊! 最原始的 FTP 客户端不能用?[已解决]

[复制链接]
 楼主| 发表于 2005-12-7 09:25:41 | 显示全部楼层
解决了, FTP 加一个 -p 开关可以指定为 Passive 模式

不知道为什么这不是缺省设置 ..........

在 FC1 的 man ftp 中有这一段

     -p    Use passive mode for data transfers. Allows use of ftp in environ-
           ments where a firewall prevents connections from the outside world
           back to the client machine. Requires that the ftp server support
           the PASV command. [color="DarkOrange"]This is the default now for all clients (ftp and
           pftp) due to security concerns using the PORT transfer mode.  The
           flag is kept for compatibility only and has no effect anymore.
回复 支持 反对

使用道具 举报

发表于 2005-12-7 12:10:25 | 显示全部楼层
%WINDIR%\system32\ftp.exe根本就不支持passive模式,那时你的头就更大了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-12-7 15:39:56 | 显示全部楼层
Post by troll
%WINDIR%\system32\ftp.exe根本就不支持passive模式,那时你的头就更大了。

正因为 MS$ 的 FTP 不支持 passive 模式,

所以到了 Linux 下也尽量避免用这个 "原始的" FTP 客户端,

临时出问题竟然没有想到 man 一下, 只用 Google 在网上查:p
回复 支持 反对

使用道具 举报

发表于 2005-12-8 03:35:13 | 显示全部楼层
slackware就这点好,有什么问题基本都能自行解决
回复 支持 反对

使用道具 举报

发表于 2005-12-8 07:08:24 | 显示全部楼层
今天又长知识了。
回复 支持 反对

使用道具 举报

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

本版积分规则

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