Home > Software > Resumable file uploads

Resumable file uploads

March 28th, 2009

I have a pretty fun little resumable file uploader, I wrote using google gears and a tiny ruby rack file.  It’s possible to put this uploader behind an nginx or apache and share a session .   It  can upload multiple files and keep track of the progress of each file.  Uploads can be paused and resumed.   This works because the files are split into chunks and uploaded 1 meg at a time.    The source is here:  http://github.com/taf2/resume-up/tree/master

Here’s a fun screen shot of it in action:

Gears asks for permission.

picture-4

The Anerian uploader design, with the select files button

picture-5

Select some images to upload

picture-6

Let the upload begin,  notice the “Pause” buttons

picture-9

Pause the first to uploads and let the second to use more bandwidth.

picture-10

A little further along, and we pause them all.

picture-11

Just one more to go!

picture-12

And finally, they’re all uploaded:picture-7

Try it out for yourself:

git clone git://github.com/taf2/resume-up.git
ruby uploader.rb

All you need is ruby, thin, and google gears running in your browser.

Software ,

  1. Blacky
    August 28th, 2009 at 17:42 | #1

    What shall I do when there is no complete install of ruby (and i don’t want to install ruby) but i want the upload dir plus the index file for it?

  2. August 29th, 2009 at 15:13 | #2

    Blacky, if you don’t want to install ruby then you’ll have to write your own server that supports the upload protocol as the client js would expect.

  3. January 8th, 2010 at 10:55 | #3

    @taf2

    exactly the same question that blacky asked was coming to my mind!
    thanks for the answer! i will check it and will ask more if i need any help!

    thanks

    -adil

  1. April 1st, 2009 at 07:23 | #1
  2. May 9th, 2009 at 06:46 | #2
CommentLuv Enabled

Comments links could be nofollow free.