FTP传输大文件时报connection reset by peer错,求原因和怎么解决

17 views
Skip to first unread message

xis...@gmail.com

unread,
Mar 29, 2015, 10:34:42 AM3/29/15
to sh...@googlegroups.com
某自动传输脚本传输ftp文件时发现目标文件有时会比源文件小很多(特别是很大的文件)。
后来我们手工测试了一下,发现即使是手工运行程序,仍然会报错,具体情况如下:

ftp> put XXX.log

299 Entering Extended Passive Mode (|||30069|)
150 Ok to send data.
92% |****************************************   | 59279MB  --stalled -ftp: neetout: Connection reset by peer
421 Service not available, remote server timed out.  Connection closed.


AR

unread,
Mar 29, 2015, 9:56:55 PM3/29/15
to sh...@googlegroups.com
什么样的网络环境?看起来就是普通的超时了?

一些FTP的服务端与客户端支持续传,但是某没用过。
是什么情景只能选择使用FTP吗。

http://www.networksorcery.com/enp/rfc/rfc3659.txt

http://www.freesoft.org/CIE/RFC/1123/64.htm


--
Silence is golden.

依云

unread,
Mar 29, 2015, 11:47:35 PM3/29/15
to sh...@googlegroups.com
有可能是控制连接闲置太久服务器关闭了连接?你注意一下从传输开始到失败的时间?

我记得又拍云就有这种问题。

--
Best regards,
lilydjwg

Reply all
Reply to author
Forward
0 new messages