wget下載下傳工具
http://myget.sourceforge.net/release/myget-0.1.2.tar.gz
下載下傳後使用如下指令安裝:
#tar jxvf myget-0.1.0.tar.bz2
#cd myget-0.1.0
#./configure --prefix=/usr/local/myget
#make
#make install
# /usr/local/myget/bin/mytget -d /root/
也可
# cp /usr/local/myget/bin/mytget /root/mytget
# /root/mytget http://myget.sourceforge.net/release/myget-0.1.2.tar.gz
MyGet指令格式如下: #mytget [選項] [下載下傳位址]
常用的選項:
-d [目錄]:指定下載下傳到的檔案在本地存放的位置,預設目前目錄。
-f [檔案]:指定下載下傳到本地後的新檔案名稱。
-h 幫助選項。
-n [線程數]:下載下傳線程數量,預設為4個。
-x [代理伺服器位址]:設定代理伺服器位址,如“-x [url]http://user:pass@host:port
[/url]”。
-b Show the debug message
-c Set the retry count to [num], no limit when "0", the default is "99"
-i Set the ftp retry interval to [num] seconds, the default is "5"
-r Include `Referer: ' header in HTTP request.
-t Set the connection timeout to [num] seconds, the default is "30"
-v Show the version of the myget and exit
-x Set the proxy [URL]
[root@localhost myget-0.1.0]# mytget -n 10 -x [url]http://192.168.0.5:8080 ;
-d ./ http://..../myget-0.1.0.tar.bz2
Begin to download: myget-0.1.0.tar.bz2
Filesize: 222K
100%
[=================================================================================
=========] [228K] [5.6K/s] [ETA:00:-1]Download successfully in 00:11