无忧启动论坛

标题: 今天测试了一个超级好的命令行多线程下载工具 AXEL [打印本页]

作者: secowu    时间: 2011-9-22 09:55
标题: 今天测试了一个超级好的命令行多线程下载工具 AXEL
体积超小。。。。。。。

Usage: axel [options] url1 [url2] [url...]

--max-speed=x           -s x    Specify maximum speed (bytes per second)
--num-connections=x     -n x    Specify maximum number of connections
--output=f              -o f    Specify local output file
--search[=x]            -S [x]  Search for mirrors and download from x servers
--header=x              -H x    Add header string
--user-agent=x          -U x    Set user agent
--no-proxy              -N      Just don't use any proxy server
--quiet                 -q      Leave stdout alone
--verbose               -v      More status information
--alternate             -a      Alternate progress indicator
--help                  -h      This information
--version               -V      Version information

Visit http://axel.alioth.debian.org/ to report bugs
作者: secowu    时间: 2011-9-22 09:57
忘了放程序上来了。。。。。

axel.part1.rar

399.41 KB, 下载次数: 293, 下载积分: 无忧币 -2

axel.part2.rar

360.03 KB, 下载次数: 278, 下载积分: 无忧币 -2


作者: secowu    时间: 2011-9-22 10:06
还支持断点续传,真牛。
作者: secowu    时间: 2011-9-22 10:09
Axel for windows:命令行多线程下载工具
2011年4月28日knktc发表评论阅读评论
Axel是linux下的命令行多线程下载工具,小巧快捷。由于项目要求,在linux环境下用这个工具来下载一些外网的资源,速度很快,由于是命令行中的工具,自然可以很方便地写到脚本中来调用。

突然想到,这么好的东西,我写powershell的时候也用用好了,与是在cygwin环境下用axel的源码编译了这个axel的windows版本,连同cygwin1.dll的文件一起打包放出来供大家下载使用吧。


下载地址

skydrive:

https://cid-434d09d9a3a39606.off ... /blogshare/axel.zip

Rayfile:

http://www.rayfile.com/zh-cn/fil ... -8a69-0015c55db73d/

使用方法:

1.        下载编译好的axel for windows,将axel.zip解压后就可以使用了(请保持cygwin1.dll和axel.exe在同一位置,或将cygwin1.dll直接放到windows\system32目录下面),嫌每次输入全路径麻烦的话可以将放置axel的路径放到环境变量中。

2.        在命令行中使用axel即可,常用的命令格式为:

axel –n 10 url –o path

其中-n指定了下载的线程数,url就是需要下载的文件url,-o指定了文件的本地保存路径。除此之外axel的参数可以直接输入axel –help后按回车看到:

–max-speed=x -s x 指定下载的最高速度

–num-connections=x -n x 指定下载时的连接数

–output=f -o f 指定文件的本地保存路径

–quiet -q 安静模式,不输出信息

–verbose -v 更多状态信息

–alternate -a 已单行模式来显示下载进度

–help -h 显示帮助信息

–version -V 显示版本信息



3.        更多的信息请访问axel的官方网站,还可以获取源码自己优化哦:

axel官网:http://axel.alioth.debian.org/



总之就是linux shell和windows powershell都难以割舍吧,努力缩小两者的差距吧……
作者: secowu    时间: 2011-9-22 10:09
http://www.knktc.com/2011/04/28/ ... %E5%B7%A5%E5%85%B7/
作者: renchmin    时间: 2011-9-22 10:45
这个小软件很不错的啊,支持了。
作者: 快雪时晴    时间: 2011-9-22 12:55
特色:可以多线程
不然老牌的下载工具很多,如wget curl
作者: secowu    时间: 2011-9-22 13:17
还可以续传。。。。。
wget不行。。。。
作者: zqywult    时间: 2011-9-22 13:42
这个小软件很不错的啊!
哪位DD能做个GUI界面的,就更好了!!!
作者: secowu    时间: 2011-9-22 16:21
测试了下,在PS下-a参数没问题,但在命令提示符号下没效果。
作者: secowu    时间: 2011-9-22 16:23
标题: 回复 #9 zqywult 的帖子
http://sourceforge.net/projects/axelgui/
作者: secowu    时间: 2011-9-22 22:32
比wget牛逼多了。。。。。
作者: 1e3e    时间: 2011-10-7 23:14
原帖由 <i>secowu</i> 于 2011-9-22 16:23 发表 <a href="http://bbs.wuyou.net/redirect.php?goto=findpost&pid=2307148&ptid=199334" target="_blank"><img src="http://bbs.wuyou.net/images/common/back.gif" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open(this.src);}" onmousewheel="return imgzoom(this);" alt="" /></a><br />
http://sourceforge.net/projects/axelgui/
<br />
好像不能访问了
作者: FLOPPY    时间: 2011-10-8 16:45
标题: 回复 #3 secowu 的帖子
xp3 CMD如图:


[ 本帖最后由 FLOPPY 于 2011-10-8 16:47 编辑 ]
作者: secowu    时间: 2011-10-13 11:25
E:\UpChromium>axel -h
Usage: axel [options] url1 [url2] [url...]

--max-speed=x           -s x    Specify maximum speed (bytes per second)
--num-connections=x     -n x    Specify maximum number of connections
--output=f              -o f    Specify local output file
--search[=x]            -S [x]  Search for mirrors and download from x servers
--header=x              -H x    Add header string
--user-agent=x          -U x    Set user agent
--no-proxy              -N      Just don't use any proxy server
--quiet                 -q      Leave stdout alone
--verbose               -v      More status information
--alternate             -a      Alternate progress indicator
--help                  -h      This information
--version               -V      Version information

Visit http://axel.alioth.debian.org/ to report bugs
作者: secowu    时间: 2011-10-13 11:28
回复 #14 FLOPPY 的帖子
表示没有问题

无标题.png (98.71 KB, 下载次数: 10)

无标题.png

作者: FLOPPY    时间: 2011-10-13 15:01
标题: 回复 #16 secowu 的帖子
发现不能把axel.exe cygwin1.dll直接放到根目录下,问题解决了/谢谢!




欢迎光临 无忧启动论坛 (http://bbs.wuyou.net/) Powered by Discuz! X3.3