wget好啊,就是好来就是好

来源:互联网 发布:失落沙洲知乎 编辑:程序博客网 时间:2024/05/16 23:55
在网上下一个文件,下了几次每次都是超时退出,忍无可忍之际,决定用cygwin里面的
wget下载(也可能是我以前下载后放cygwin里面的,忘记了)。发现仍旧超时,不过
wget自动重连,自动续传,如此如此,这般这般,自动重连并续传8次,终于成功了。
就是好来就是好啊!

Log:

$ wgethttp://prdownloads.sourceforge.net/mingw/w32api-3.17-1-mingw32-dev.tar.l
zma?
--2011-05-10 20:21:35-- http://prdownloads.sourceforge.net/mingw/w32api-3.17-1-
mingw32-dev.tar.lzma?
Resolving prdownloads.sourceforge.net... 216.34.181.59
Connecting to prdownloads.sourceforge.net|216.34.181.59|:80...connected.
84% [++++++++++++++++++++++++++=====>      ] 951,797    --.-K/s  eta15m 21s
Location:http://downloads.sourceforge.net/project/mingw/MinGW/BaseSystem/Runtim
eLibrary/Win32-API/w32api-3.17/w32api-3.17-1-mingw32-dev.tar.lzma[following]
--2011-05-10 20:21:36-- http://downloads.sourceforge.net/project/mingw/MinGW/Ba
seSystem/RuntimeLibrary/Win32-API/w32api-3.17/w32api-3.17-1-mingw32-dev.tar.lzma

Resolving downloads.sourceforge.net... 216.34.181.59
Reusing existing connection toprdownloads.sourceforge.net:80.
HTTP request sent, awaiting response... 302 Found
Location:http://ncu.dl.sourceforge.net/project/mingw/MinGW/BaseSystem/RuntimeLi
brary/Win32-API/w32api-3.17/w32api-3.17-1-mingw32-dev.tar.lzma[following]
--2011-05-10 20:21:37-- http://ncu.dl.sourceforge.net/project/mingw/MinGW/BaseS
ystem/RuntimeLibrary/Win32-API/w32api-3.17/w32api-3.17-1-mingw32-dev.tar.lzma
Resolving ncu.dl.sourceforge.net... 140.115.17.45
Connecting to ncu.dl.sourceforge.net|140.115.17.45|:80...connected.
HTTP request sent, awaiting response... 200 OK
Length: 1128434 (1.1M) [application/x-lzma]
Saving to: `w32api-3.17-1-mingw32-dev.tar.lzma'

 6% [=>                               ] 70,309     --.-K/s   in17m 20s

2011-05-10 20:39:02 (67.6 B/s) - Read error at byte70309/1128434 (Connection ti
med out). Retrying.

--2011-05-10 20:39:03--  (try: 2) http://ncu.dl.sourceforge.net/project/mingw/M
inGW/BaseSystem/RuntimeLibrary/Win32-API/w32api-3.17/w32api-3.17-1-mingw32-dev.t
84% [++++++++++++++++++++++++++=====>      ] 951,797    --.-K/s  eta15m 18s
Connecting to ncu.dl.sourceforge.net|140.115.17.45|:80...connected.
HTTP request sent, awaiting response... 206 PartialContent
Length: 1128434 (1.1M), 1058125 (1.0M) remaining[application/x-lzma]
Saving to: `w32api-3.17-1-mingw32-dev.tar.lzma'

39% [++============>                    ] 445,841    --.-K/s   in 20m 40s

2011-05-10 20:59:57 (303 B/s) - Read error at byte445841/1128434 (Connection ti
med out). Retrying.

--2011-05-10 20:59:59--  (try: 3) http://ncu.dl.sourceforge.net/project/mingw/M
inGW/BaseSystem/RuntimeLibrary/Win32-API/w32api-3.17/w32api-3.17-1-mingw32-dev.t
ar.lzma
Connecting to ncu.dl.sourceforge.net|140.115.17.45|:80...connected.
HTTP request sent, awaiting response... 206 PartialContent
Length: 1128434 (1.1M), 682593 (667K) remaining[application/x-lzma]
Saving to: `w32api-3.17-1-mingw32-dev.tar.lzma'

51% [+++++++++++++++====>                ] 580,893    --.-K/s   in 18m 42s

2011-05-10 21:18:44 (120 B/s) - Read error at byte580893/1128434 (Connection ti
med out). Retrying.

--2011-05-10 21:18:47--  (try: 4) http://ncu.dl.sourceforge.net/project/mingw/M
inGW/BaseSystem/RuntimeLibrary/Win32-API/w32api-3.17/w32api-3.17-1-mingw32-dev.t
ar.lzma
Connecting to ncu.dl.sourceforge.net|140.115.17.45|:80...connected.
HTTP request sent, awaiting response... 206 PartialContent
Length: 1128434 (1.1M), 547541 (535K) remaining[application/x-lzma]
Saving to: `w32api-3.17-1-mingw32-dev.tar.lzma'

68% [++++++++++++++++++++=====>           ] 777,865    --.-K/s   in19m 43s

2011-05-10 21:38:35 (166 B/s) - Read error at byte777865/1128434 (Connection ti
med out). Retrying.
84% [++++++++++++++++++++++++++=====>      ] 951,797    --.-K/s  eta14m 26s
--2011-05-10 21:38:39--  (try: 5) http://ncu.dl.sourceforge.net/project/mingw/M
inGW/BaseSystem/RuntimeLibrary/Win32-API/w32api-3.17/w32api-3.17-1-mingw32-dev.t
ar.lzma
Connecting to ncu.dl.sourceforge.net|140.115.17.45|:80...connected.
HTTP request sent, awaiting response... 206 PartialContent
Length: 1128434 (1.1M), 350569 (342K) remaining[application/x-lzma]
Saving to: `w32api-3.17-1-mingw32-dev.tar.lzma'

84% [++++++++++++++++++++++++++=====>      ] 951,797    --.-K/s  eta14m 26s


....











































0 0