# RubyWget / "Axel"

**URL:** <https://www.ruby-forum.com/t/rubywget-axel/124054>\
**Category:** Ruby\
**Created:** [December 24, 2007, 4:40am UTC](https://www.ruby-forum.com/t/rubywget-axel/124054 "2007-12-24T04:40:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![quik77](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/q/dec6dc/32.png) [@quik77](https://www.ruby-forum.com/u/quik77)\
**Post date:** [December 24, 2007, 4:40am UTC](https://www.ruby-forum.com/t/rubywget-axel/124054/1 "2007-12-24T04:40:50Z")

</div>

“Axel does the same thing any other accelerator does: it opens more than  
one HTTP/FTP connection per download and each connection transfers its  
own, separate, part of the file.”

Basically I am wondering (as I want to slowly extend on my primitive  
ruby “wget”, which so far supports 0 options the “normal” wget  
supports…):

How could something like Axel be done in Ruby?  
The url to Axel is at [http://wilmer.gaast.net/main.php/axel.html](http://wilmer.gaast.net/main.php/axel.html)

I’d be glad for any pointers.

---

<div class="post-metadata">

**Author:** ![quik77](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/q/dec6dc/32.png) [@quik77](https://www.ruby-forum.com/u/quik77)\
**Post date:** [December 24, 2007, 4:50am UTC](https://www.ruby-forum.com/t/rubywget-axel/124054/2 "2007-12-24T04:50:21Z")

</div>

Quoth Marc H.:

> I’d be glad for any pointers.

Using httpaccess2 or a simple tcp stream or whatever, send headers to  
the  
server that include a Content-Range: bytes=blah-blah header.
