用flashfxp上传文件,提示数据socket错误:链接超时

来源:百度知道 编辑:UC知道 时间:2024/05/24 19:17:57
记录
WinSock 2.0 -- OpenSSL 0.9.8g 19 Oct 2007
[右] 正在连接到 winstoneng -> IP=202.**.**.** PORT=21
[右] 已连接到 winstoneng
[右] 220 ns3 Microsoft FTP Service (Version 5.0).
[右] USER winstoneng
[右] 331 Password required for winstonengineering.
[右] PASS (隐藏)
[右] 230 User winstoneng logged in.
[右] SYST
[右] 215 Windows_NT version 5.0
[右] FEAT
[右] 500 'FEAT': command not understood
[右] PWD
[右] 257 "/winstoneng" is current directory.
[右] TYPE A
[右] 200 Type set to A.
[右] STAT -la
[右] 列表完成: 1 KB 于 0.44 秒 (3.9 KB/秒)
[右] DELE 001.html
[右] 250 DELE command successful.
[右] STAT -la
[右] 列表完成: 1 KB 于 0.19 秒 (8.8 KB/秒)
已删除 0 个文件夹, 1 个文件, 总计 34 KB 于 0.30 秒。
[右] CWD images
[右] 250 CWD command successful.
[右] PWD
[右] 257 "/winstoneng/images" is current directory.
[右] STAT -la
[右] 列表完成: 7 KB 于 0.33 秒 (23.1 KB/秒)
[右] TYPE I
[右] 200

把“使用被动模式”的勾去掉就正常了
或者在路由上映射服务端设定的被动模式所使用的所有端口,server-u就10个左右,微软的ftp是多少个,偶就不清楚了

原因是:flashfxp跟服务端都支持被动模式,所以就自动转为被动模式传输,但是服务器应该不是直接在公网上的,只是路由映射了一个21端口,被动模式的端口没有映射,在转为被动模式的时候使用被动模式的端口进行连接,路由不接受这个连接,所以连接超时~!

flashxp 不好用的。经常出现这种情况
你上百度搜下cuteftp