You are not logged in.

#1 2012-03-10 03:05:32

Si
Member
Registered: 2006-09-11
Posts: 57

Prozilla enhanced - a CLI multi-threaded downloader

The original prozilla was good, but not quite what I wanted, so I modified it a bit. I've kept this on my disk for a very very long time (since Nov. 2010!!) for personal use. I've not thought about releasing this because I have no time to maintain a project. But after realising prozilla is dead, its website is gone (along with the file), I thought it's time to get off my lazy bum and publish my enhanced version anyway. At least others may find it useful and hopefully create a project page for it or host it somewhere.

What I've changed:
- Split the file into multiple segments and download simultaneously from a single server
- Ability to specify the maximum segment size

Example usuage:
- Splits the file into 100 segments and do not use curses interface
proz -k=100 --no-curses http://caribbean.com/awesome_bluray.m2ts
- Splits the file into 20 segments of 512kb each
proz -k=20 -S 512 http://some.server.com/file

Some tips:
- If the connection to the server is in general responsive and fast, you can increase the download speed slightly by increasing the segment size due to less overhead from establishing new connections. In my experience, if each segment takes at least 10~20 seconds to complete, the segment size is probably about right. If the connection is really slow, eg. many Chinese servers are slow to connect from overseas, use a smaller segment size such as 128kb.
- The curses interface is rarely useful, you might as well turn it off with --no-curses. This is especially so when the file is large, requiring a large number of segments.

I'll only provide the source here, but you can find the original prozilla in AUR, you can simply modify the PKGBUILD script to create a package for you. That's it for now, hope you like it.

Link to source:
http://dl.dropbox.com/u/5432401/prozilla-2.0.6.tar.bz2

Offline

Board footer

Powered by FluxBB