UnixServerAdmin

Server Administration & Management

aria2c :- Utility for Downloading files

aria2 is a utility for downloading files.

The supported protocols are HTTP(S), FTP, BitTorrent and Metalink. It has a powerful segmented
downloading ability, downloading a file from multiple sources and multiple protocols and utilizing
your download bandwidth to the maximum. It supports downloading a file from HTTP(S)/FTP and BitTorrent
at the same time, while the data downloaded from HTTP(S)/FTP is uploaded to the BitTorrent swarm. Using
Metalinks chunk checksums, aria2 automatically validates chunks of data while downloading a file like BitTorrent.

Download link :-

# wget http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/aria2-1.3.1-1.el5.rf.i386.rpm

Installation :-

# rpm -ivh aria2-1.3.1-1.el5.rf.i386.rpm

Other Options :-

-d, –dir=DIR [The directory to store the downloaded file.]

–http-user=USER [Set HTTP user. This affects all URLs.]

–http-passwd=PASSWD [Set HTTP password. This affects all URLs.]

–ftp-user=USER [Set FTP user. This affects all URLs. Default: anonymous]

–ftp-passwd=PASSWD [Set FTP password. This affects all URLs. Default: ARIA2USER@]

–ftp-type=TYPE [Set FTP transfer type. TYPE is either binary or ascii. Default: binary]

–file-allocation=METHOD [Specify file allocation method. METHOD is either none or prealloc. none doesnot pre-allocate file space. prealloc pre-allocates file space before download begins. This may take some time depending on the size of the file. Default: prealloc]

-T, –torrent-file=TORRENT_FILE [The path to the .torrent file.]

–max-upload-limit [specifies the max of upload rate]

# aria2c -j 5 –file-allocation=none http://unixserveradmin.com/unixserv_backup.zip

# aria2c –max-upload-limit=40K -Tfile.torrent

June 20, 2011 Posted by | Tips & Tricks, Unix/Linux | , , | Leave a comment