linux下多线程下载工具myget
myget目标设计成一个可扩展的,拥有丰富界面的多线程下载工具,它支持http、ftp、https等协议。
这个是它的官方文档:http://myget.sourceforge.net/
currentfeatures
supportshttp,https,ftpprotocols
supportshttp-getproxy
resumestheaborteddownloads
supportsdirectorydownload
canacceleratesdownloadingthroughusingmuti-connections
supportslargefile(>4g)
installmethod
#tarjxvfmyget-0.1.0.tar.bz2
#cdmyget-0.1.0
#./configure
#make
#makeinstall
usingmethod
mytget0.0.99:adownloadacceleratorforgnu/linux
usage:mytget[options]......
options:
-b,--debugshowthedebugmessage
-c,--count=numsettheretrycountto[num],nolimitwhen"0",thedefaultis"99"
-d,--directory=dirsetthelocaldirecotryto[dir],thedefaultis"."指定下载到的文件在本地存放的位置,默认当前目录。
-f,--file=filerenamethefileto[file]指定下载文件名称。
-h,--helpabriefsummaryofalltheoptions帮助选项。
-i,--interval=numsettheftpretryintervalto[num]seconds,thedefaultis"5"
-n,--number=numuse[num]connectionsinsteadofthedefault(4)[线程数]:下载线程数量,默认为4个。
-r,--referer=urlinclude`referer:'headerinhttprequest.
-t,--timeout=numsettheconnectiontimeoutto[num]seconds,thedefaultis"30"
-v,--versionshowtheversionofthemygetandexit
-x,--proxy=urlsettheproxy[代理服务器地址]:设置代理服务器地址,如“-xhttp://user:password@host:port”。
myget常用的形式如下:
#mytget-d/root/-n10http://www.download.com/filename.rar