Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 24 Apr 2014, 02:01
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
aria2: file downloading utility
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 3 [33 Posts]   Goto page: 1, 2, 3 Next
Author Message
muggins

Joined: 20 Jan 2006
Posts: 6668
Location: lisbon

PostPosted: Sat 08 Sep 2007, 09:39    Post subject:  aria2: file downloading utility  

http://aria2.sourceforge.net/

Quote:
aria2 is a download utility with resuming and segmented downloading.
Supported protocols are HTTP/HTTPS/FTP/BitTorrent. It also supports Metalink version 3.0. As of 0.10.0 aria2 supports chunk checksum in Metalink: it validates chunk checksums while downloading a file like BitTorrent. This gives safer and more reliable download experience.


I've uploaded this as a .pet here aria2-1.9.0.pet (1675kbytes), or here.

It's a commandline program that can resume broken downloads, and has plenty of other features, including bit-torrent & metalink. to see usage, type aria2c -h in a console.

(N.B.1 The developer has a link here on how to integrate aria2c with the flashgot plugin, for mozilla browsers. It didn't work for me, but if you substituted the following script, save as /usr/bin/aria2c.sh, and give it executable permissions, replacing /root/my-documents with whatever your default download directory is, then, where the link advises Finally, enter "[FOLDER] [URL] " in "Argument template" box., instead just enter URL in the template box, thenit works.

Code:

#!/bin/sh

DLOAD_DIR=/root/my-documents

cd $DLOAD_DIR

rxvt -e aria2c $1


If you wanted to instead use wget with flashgot, follow the same procedure, and have a script, /usr/bin/wget.sh, like:

Code:

#!/bin/bash

DLOAD_DIR=/root/my-documents

cd $DLOAD_DIR
rxvt -e wget -c $1



(N.B.2 The .pet size of the program is getting bigger, with each new release, so I've separated out the locale files into the separate file, aria2-NLS-1.9.0.pet (303kbytes) ), or from here.

Last edited by muggins on Mon 22 Mar 2010, 22:48; edited 31 times in total
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6668
Location: lisbon

PostPosted: Sun 28 Oct 2007, 23:29    Post subject:  

i've uploaded the latest release of aria2. i see that the website mentions 3 gui frontends for it as well. the qt based one here:

http://www.aria2fe.com/

compiles easily, but i haven't managed to get it to do anything yet. i suspect it's because the code is calling xterm, and rxvt doesn't like some of the parameters.
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6668
Location: lisbon

PostPosted: Sun 18 Nov 2007, 02:35    Post subject:  

Uploaded the latest release, v 0.11.5

Quote:

As of 0.10.2, aria2 supports configuration file. It must be placed under ~/.aria2 and must be named as aria2.conf. In each line, there is 1 parameter whose syntax is name=value pair, where name is the long command-line option name without '--' prefix. The lines beginning '#' are treated as comments.

Example:

# sample configuration file for aria2c
file-allocation=prealloc
listen-port=60000
seed-ratio=1.0
max-upload-limit=40K
ftp-pasv=true
Back to top
View user's profile Send private message 
Newcrest

Joined: 03 Mar 2007
Posts: 203

PostPosted: Sun 18 Nov 2007, 04:27    Post subject:  

I might be sacrilegious here but I cannot see how this is not a backward step from aria which has a good gtk+ gui which shows all your downloads with progress bars and queuing.

It has pause and resume and apart from seeming to lack segmented downloading does everything I want from a download manager
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6668
Location: lisbon

PostPosted: Sun 18 Nov 2007, 05:54    Post subject:  

Yes,

but does the gtk based aria support downloading torrents or metalinks? Also, from the aria2 website:

Quote:

Unlike Aria, which has GTK+ interface, aria2 provides command-line interface only. But GUI-lessness brings lower resource requirement. The physical memory usage is typically 3MB(normal HTTP/FTP downloads) to 5MB(BitTorrent downloads). CPU usage in BitTorrent with download speed of 500KB/sec is around 7%.


(And if you google for http://aria.rednoah.com/, which was the site for Aria, suspiciously you're re-directed to the aria2 site! Is this a conspiracy or what?)

My own preference in downloaders is, in order:

Commandline: wget, aria2, curl.
Gui: d4x, urlgfe, aria.

But since I virtually never download torrents, and very rarely metalink downloads, 99.9% of my downloading is via wget, which also has pause & resume. (control-c and up arrow for previous command).
Back to top
View user's profile Send private message 
Newcrest

Joined: 03 Mar 2007
Posts: 203

PostPosted: Sun 18 Nov 2007, 08:20    Post subject:  

I use Aria for large files in Firefox via Flashgot. Easy and uses less resouces than Firefox's crappy downloader anyway.
Yes I see the old Aria website redirects to Aria2. Looks like the aria2 people fear competing with Aria. I had better not lose my copy!

There are plenty of options for downloading torrents already. Transmission is getting pretty good. I don't even miss utorrent anymore. (utorrent works in Wine but I did not like it that way)

D4x looks good but the dotpup 2.5.7.1 version that I tried had a bug and did not close properly. I had to always kill it and lose settings so I gave up. Does yours not have that problem?

When I looked at Urlgfe it did not appear to multi-thread either so did not offer anything much over Aria. Did I get that wrong?

Aria2 is great for people who like commandline but that is not me. When I do use commandline I use wget anyway which I see is your first choice.
Back to top
View user's profile Send private message 
klu9

Joined: 27 Jun 2007
Posts: 345

PostPosted: Sun 18 Nov 2007, 16:29    Post subject:  

anyone had any experiences with the GUI frontends for Aria2?
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6668
Location: lisbon

PostPosted: Sun 18 Nov 2007, 21:03    Post subject:  

Newcrest:

I suppose two things I liked about urlgfe are that it was tiny, and that it monitored the clipboard for any right-clicked copies of tar.gz, bzip2 etc, (when it was open).

With d4x, I compiled it a few years back, but haven't used it since. I vaguely recall it was slow to shut down, but definitely remember it was very resource hungry starting up.

klu9:

With regards to the gui frontends for aria2, I've only tried aria2fe. As I mentioned above, it compiles easily, but I've had no luck getting it to do anything. I suspect that it's to do with calling an rxvt window, but I never looked at it too long.

aria2fe is intending to use QT4 libraries in future. karia2 is also dependent on QT4, and the third downloader needs perl::tk modules.
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6668
Location: lisbon

PostPosted: Mon 19 Nov 2007, 09:02    Post subject:  

Newcrest,

I just compiled & uploaded the last released version of D4X here:

http://www.murga-linux.com/puppy/viewtopic.php?t=23733

You might want to give it a try as it seems to open & close cleanly...at least for the one file I tried it out on.
Back to top
View user's profile Send private message 
aria2fe

Joined: 25 Nov 2007
Posts: 1
Location: Phoenix, Arizona U.S.A.

PostPosted: Sun 25 Nov 2007, 06:42    Post subject: aria2fe  

Gentlemen;

The recently released version of aria2fe (0.0.4), the GUI front end to aria2, includes a port to Qt 4, and is statically linked against the Qt4 libs so a local machine install of Qt/Qt libs is NO longer required. It also maintains argument compatibility with aria2 versions up to and including 0.11.5. It does require "xterm" however (the grandfather of all X11 terminal emulators). If you are expecting it to run with "rxvt" most likely it will not as the arguments passed to "xterm" (for "xterm" control) are probably not 100% compatible. My suggestion to you (if you would like a stable GUI for aria2) is that you download and install "xterm". Modifying the source for aria2fe and maintaining Qt compatibility can be tricky. By the way, I chose "xterm" for a reason and that is because it ships with every major distro and is not desktop environment dependent.

You can get the latest version of aria2fe here:

http://aria2fe.com/

or here:

http://sourceforge.net/projects/aria2fe/

The Management at aria2fe...
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6668
Location: lisbon

PostPosted: Sun 25 Nov 2007, 07:08    Post subject:  

aria2fe,

Thankyou for that clarification about your app.
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6668
Location: lisbon

PostPosted: Wed 12 Dec 2007, 02:54    Post subject:  

Uploaded v0.12.0
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6668
Location: lisbon

PostPosted: Fri 14 Dec 2007, 05:22    Post subject:  

I've uploaded a QT frontend for aria2, aria2fe v0.0.2, here:

http://www.murga-linux.com/puppy/viewtopic.php?t=24525
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6668
Location: lisbon

PostPosted: Sun 16 Mar 2008, 20:22    Post subject:  

Updated to v0.13.1.
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6668
Location: lisbon

PostPosted: Fri 25 Jul 2008, 05:57    Post subject:  

Updated to v0.15.0. Plus added a link on how to integrate aria2c with flashgot.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 3 [33 Posts]   Goto page: 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0745s ][ Queries: 12 (0.0067s) ][ GZIP on ]