Board logo

标题: 自制下 FTP传输的问题 [打印本页]

作者: mamatoto    时间: 2012-11-17 00:23     标题: 自制下 FTP传输的问题

采用的是网线直连的方式
已经按照教学里的设置好了IP PC是10.0.0.1  XO是10.0.0.2
用的FlashFXP 连接后也可以看到XO的目录
但是开始传输后 先会上到6-7M/S 然后就成0了 然后红字提示传输失败
一会速度又起来了 然后又很快到了0了
我之前有成功传输过几次 就是一直保持一个稳定的速度 大约是5-6M/S的样子
但是好几次都遇到这样的现象 现在也是 试了好几次了
这个会是什么原因?
XO的硬盘?还是别的什么?
求帮助
作者: mamatoto    时间: 2012-11-17 09:39

FTP状态显示是这样

WinSock 2.0 -- OpenSSL 1.0.0c 2 Dec 2010
[右] 正在连接到 10.0.0.2 -> IP=10.0.0.2 PORT=21
[右] 已连接到 10.0.0.2
[右] 220-XeXMenu FTPD 0.1, by XeDev
[右] 220-You are connecting from 10.0.0.1:2375.
[右] 220 Proceed with login.
[右] USER xbox
[右] 331 Need password for user "xbox".
[右] PASS (hidden)
[右] 230 User "xbox" logged in.
[右] SYST
[右] 215 WIN32 Type: L8 Version: XeXMenu FTPD 0.1, by XeDev
[右] FEAT
[右] 211-Extensions supported:
[右]  SIZE
[右]  REST STREAM
[右]  MDTM
[右]  TVFS
[右] 211 END
[右] PWD
[右] 257 "/" is current directory.
[右] TYPE A
[右] 200 TYPE command successful.
[右] PASV
[右] 227 Entering Passive Mode (0,0,0,0,4,46)
[右] 正在打开数据连接 IP: 10.0.0.2 端口: 1070
[右] LIST -al
[右] 150 Opening passive mode data connection for listing of "/".
[右] 226 LIST command successful.
[右] 列表完成: 148 字节 于 0.03 秒 (4.5 KB/秒)
[右] CWD Hdd1
[右] 250 "/Hdd1" is now current directory.
[右] PWD
[右] 257 "/Hdd1" is current directory.
[右] PASV
[右] 227 Entering Passive Mode (0,0,0,0,4,47)
[右] 正在打开数据连接 IP: 10.0.0.2 端口: 1071
[右] LIST -al
[右] 150 Opening passive mode data connection for listing of "/Hdd1".
[右] 226 LIST command successful.
[右] 列表完成: 326 字节 于 0.01 秒 (26.5 KB/秒)
[右] CWD Content
[右] 250 "/Hdd1/Content" is now current directory.
[右] PWD
[右] 257 "/Hdd1/Content" is current directory.
[右] PASV
[右] 227 Entering Passive Mode (0,0,0,0,4,48)
[右] 正在打开数据连接 IP: 10.0.0.2 端口: 1072
[右] LIST -al
[右] 150 Opening passive mode data connection for listing of "/Hdd1/Content".
[右] 226 LIST command successful.
[右] 列表完成: 233 字节 于 0.38 秒 (0.6 KB/秒)
[右] CWD 0000000000000000
[右] 250 "/Hdd1/Content/0000000000000000" is now current directory.
[右] PWD
[右] 257 "/Hdd1/Content/0000000000000000" is current directory.
[右] PASV
[右] 227 Entering Passive Mode (0,0,0,0,4,49)
[右] 正在打开数据连接 IP: 10.0.0.2 端口: 1073
[右] LIST -al
[右] 150 Opening passive mode data connection for listing of "/Hdd1/Content/0000000000000000".
[右] 226 LIST command successful.
[右] 列表完成: 424 字节 于 0.01 秒 (46.0 KB/秒)
到这里为止已经进入360/Hdd1/Content/0000000000000000/目录里了 然后开始传输

[右] MKD /Hdd1/Content/0000000000000000/45410993
[右] 250 "/Hdd1/Content/0000000000000000/45410993" created successfully.
[右] CWD /Hdd1/Content/0000000000000000/45410993
[右] 250 "/Hdd1/Content/0000000000000000/45410993" is now current directory.
[右] PWD
[右] 257 "/Hdd1/Content/0000000000000000/45410993" is current directory.
[右] PASV
[右] 227 Entering Passive Mode (0,0,0,0,4,50)
[右] 正在打开数据连接 IP: 10.0.0.2 端口: 1074
[右] LIST -al
[右] 550 "/Hdd1/Content/0000000000000000/45410993": Path not found.
[右] LIST
[右] 550 "/Hdd1/Content/0000000000000000/45410993": Path not found.
[右] 列表 错误
[右] PASV
[右] 227 Entering Passive Mode (0,0,0,0,4,51)
[右] 正在打开数据连接 IP: 10.0.0.2 端口: 1075
[右] LIST -al
[右] 550 "/Hdd1/Content/0000000000000000/45410993": Path not found.
[右] LIST
[右] 550 "/Hdd1/Content/0000000000000000/45410993": Path not found.
[右] 列表 错误
[右] MKD /Hdd1/Content/0000000000000000/45410993/00000002
[右] 250 "/Hdd1/Content/0000000000000000/45410993/00000002" created successfully.
[右] CWD /Hdd1/Content/0000000000000000/45410993/00000002
[右] 250 "/Hdd1/Content/0000000000000000/45410993/00000002" is now current directory.
[右] PWD
[右] 257 "/Hdd1/Content/0000000000000000/45410993/00000002" is current directory.
[右] PASV
[右] 227 Entering Passive Mode (0,0,0,0,4,52)
[右] 正在打开数据连接 IP: 10.0.0.2 端口: 1076
[右] LIST -al
[右] 550 "/Hdd1/Content/0000000000000000/45410993/00000002": Path not found.
[右] LIST
[右] 550 "/Hdd1/Content/0000000000000000/45410993/00000002": Path not found.
[右] 列表 错误
[右] PASV
[右] 227 Entering Passive Mode (0,0,0,0,4,53)
[右] 正在打开数据连接 IP: 10.0.0.2 端口: 1077
[右] LIST -al
[右] 550 "/Hdd1/Content/0000000000000000/45410993/00000002": Path not found.
[右] LIST
[右] 550 "/Hdd1/Content/0000000000000000/45410993/00000002": Path not found.
[右] 列表 错误
[右] TYPE I
[右] 200 TYPE command successful.
[右] SIZE 4541099300000000
[右] 550 "/Hdd1/Content/0000000000000000/45410993/00000002/4541099300000000": File not found.
[右] PASV
[右] 227 Entering Passive Mode (0,0,0,0,4,54)
[右] 正在打开数据连接 IP: 10.0.0.2 端口: 1078
[右] STOR 4541099300000000
[右] 150 Opening passive mode data connection for "/Hdd1/Content/0000000000000000/45410993/00000002/4541099300000000".
[右] 426 Connection closed; transfer aborted.
[右] 传输失败!
速度一开始会有9M 然后马上就下降 降到零 显示传输失败 然后过了一会又开始

[右] SIZE 4541099300000000
[右] 213 37479860
[右] MDTM 4541099300000000
[右] 213 20051122122354
[右] PASV
[右] 227 Entering Passive Mode (0,0,0,0,4,55)
[右] 正在打开数据连接 IP: 10.0.0.2 端口: 1079
[右] REST 37479860
[右] 350 Ready to resume transfer at 37479860 bytes.
[右] STOR 4541099300000000
[右] 150 Opening passive mode data connection for "/Hdd1/Content/0000000000000000/45410993/00000002/4541099300000000".
[右] 426 Connection closed; transfer aborted.
[右] 传输失败!
还是这样 先到高速 然后马上到零

[右] SIZE 4541099300000000
[右] 213 78508316
[右] MDTM 4541099300000000
[右] 213 20051122122414
[右] PASV
[右] 227 Entering Passive Mode (0,0,0,0,4,56)
[右] 正在打开数据连接 IP: 10.0.0.2 端口: 1080
[右] REST 78508316
[右] 350 Ready to resume transfer at 78508316 bytes.
[右] STOR 4541099300000000
[右] 150 Opening passive mode data connection for "/Hdd1/Content/0000000000000000/45410993/00000002/4541099300000000".
[右] 426 Connection closed; transfer aborted.
[右] 传输失败!
还是这样
作者: 11508721    时间: 2012-11-19 21:18

[右] 227 Entering Passive Mode (0,0,0,0,4,50)

这里的问题

xbox的ftp必须用主动模式,不能用被动模式
作者: himula    时间: 2012-11-20 09:35

ftp客户端把passive mode关掉
作者: mamatoto    时间: 2012-11-21 13:28

如果是只更改主动被动的话 我之前有更改过的 还是这个样子
4L说的地方在哪里设置?
作者: himula    时间: 2012-11-21 15:31

楼上,你用的是啥ftp客户端?flashfxp?
作者: mamatoto    时间: 2012-11-21 15:44

恩 flashfxp 主动被动都调过 1个样
关键有的时候就好的 一直能保持5-7M到传完
但是有的时候就不行 就像我贴的那个样子
作者: 11508721    时间: 2012-11-22 00:37

引用:
原帖由 mamatoto 于 2012-11-21 15:44 发表
恩 flashfxp 主动被动都调过 1个样
关键有的时候就好的 一直能保持5-7M到传完
但是有的时候就不行 就像我贴的那个样子
去下载个xftp,个人用户免费,简单好用




欢迎光临 TGFC Lifestyle (http://bbs.tgfcer.com/) Powered by Discuz! 6.0.0