免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2184 | 回复: 2
打印 上一主题 下一主题

[FTP] pureftp 站点对站点传输问题。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-03-25 14:34 |只看该作者 |倒序浏览
:em10::em10::em10:

服务器A :BSD+pureftp 开启 FXP
服务器B :WINDOWS2003+SERV-U6.1

现在普通上传没有问题,站点对站点的传输不能实现。(把服务器B 的数据传输到 服务器A 上。)
FLASHFXP 的连接日志如下,

---------------------------------------------------------------------------------
[左] 正在连接到 movie-telecom -> IP=xxx.xxx.xxx.xxx PORT=21
[左] 已连接到 telecom
[左] 220 Serv-U FTP Server v6.1 for WinSock ready...
[左] USER xxxxx
[左] 331 User name okay, need password.
[左] PASS (hidden)
[左] 230 User logged in, proceed.
[左] SYST
[左] 215 UNIX Type: L8
[右] 正在连接到 192.168.xxx.xxx -> IP=192.168.xxx.xxx PORT=21
[右] 已连接到 192.168.xxx.xxx
[右] 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
[右] 220-You are user number 1 of 50 allowed.
[右] 220-Local time is now 14:32. Server port: 21.
[右] 220-This server supports FXP transfers
[右] 220-IPv6 connections are also welcome on this server.
[右] 220 You will be disconnected after 15 minutes of inactivity.
[右] USER xxxxx
[右] 331 User movie OK. Password required
[右] PASS (hidden)
[右] 230-Your bandwidth usage is restricted
[右] 230-User movie has group access to:  ftpusers
[右] 230-OK. Current restricted directory is /
[右] 230-3104 files used (0%) - authorized: 1000000 files
[右] 230 163128004 Kbytes used (20%) - authorized: 368640000 Kb
[右] 257 "/最新电影/[051007]成龙--神话" is your current location
[右] TYPE A
[右] 200 TYPE is now ASCII
[右] PASV
[右] 227 Entering Passive Mode (192,168,xxx,xxx,191,184)
[右] 正在打开数据连接 IP: 192.168.xxx.xxx 端口: 49080
[右] LIST -al
[右] 150 Accepted data connection
[右] 226-Options: -a -l
[右] 226 2 matches total
[右] 列表完成: 115 字节 于 0.23 秒 (0.5 KB/秒)
[左] CWD /电影/最新电影/[051007]成龙--神话/
[左] 250 Directory changed to /电影/最新电影/[051007]成龙--神话
[左] PWD
[左] 257 "/电影/最新电影/[051007]成龙--神话" is current directory.
[左] TYPE A
[左] 200 Type set to A.
[左] PASV
[左] 227 Entering Passive Mode (xxx,xxx,xxx,xxx,3,238)
[左] 正在打开数据连接 IP: xxx.xxx.xxx.xxx 端口: 1006
[左] LIST -al
[左] 150 Opening ASCII mode data connection for /bin/ls.
[左] 226 Transfer complete.
[左] 列表完成: 429 字节 于 0.80 秒 (0.5 KB/秒)
[左] TYPE I
[左] 200 Type set to I.
[右] TYPE I
[右] 200 TYPE is now 8-bit binary
[左] PASV
[左] 227 Entering Passive Mode (xxx,xxx,xxx,xxx,3,239)
[右] PORT xxx,xxx,xxx,xxx,3,239
[右] 501 Sorry, but I won't connect to ports < 1024
[左] ABOR
[左] 226 ABOR command successful.
[右] ABOR
[右] 500 Unknown command
------------------------------------------------------------------------------

[左]是 B 服务器,[右]是 A 服务器。

不知道怎么解决,希望知道的跟贴回答一下。:em16::em16::em16:

[ 本帖最后由 wolfg 于 2006-3-25 20:34 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2006-03-25 20:42 |只看该作者
[右] PORT xxx,xxx,xxx,xxx,3,239
[右] 501 Sorry, but I won't connect to ports < 1024

B服务器是在内网,对吧?
还是被动ftp的问题。可能要改一下某一台ftp服务器的被动ftp打开端口的设置。
参考: http://bbs.chinaunix.net/viewthr ... ge=1&highlight=
先检查两台服务器之间的连接有没有防火墙的设置。

建议读一下精华里讲解主动ftp和被动ftp的帖子(置顶贴里就有)
http://bbs.chinaunix.net/viewthr ... &extra=page%3D1

论坛徽章:
0
3 [报告]
发表于 2006-03-26 10:52 |只看该作者
PURE-FTPd 在内部网络 ,SERV-U 可能也在内部网络里,服务器之间都有防火墙。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP