public
Description: A resumable file upload server and script
Homepage: http://idle-hacking.com/
Clone URL: git://github.com/taf2/resume-up.git
name age message
file LICENSE Mon Mar 09 20:12:26 -0700 2009 pretty darn open drink up [(no author)]
file README Tue Mar 10 07:17:38 -0700 2009 update readme text [Todd Fisher]
file Rakefile Mon Mar 09 20:10:50 -0700 2009 add a simple package task [(no author)]
file TODO Mon Mar 09 20:21:13 -0700 2009 refresh TODO file [taf2]
file authorizer.rb Mon Mar 02 08:32:05 -0800 2009 add filter hook support to execute code when a ... [taf2]
file filters.rb Mon Mar 02 08:32:05 -0800 2009 add filter hook support to execute code when a ... [taf2]
directory public/ Tue Mar 10 07:20:40 -0700 2009 move the static file [Todd Fisher]
directory test/ Mon Mar 09 19:47:05 -0700 2009 fix test, we don't need to respond with the ful... [(no author)]
file uploader.rb Sat Mar 28 14:23:15 -0700 2009 add support to bind to a specific ip address [Todd A. Fisher]
directory views/ Tue Mar 10 07:20:40 -0700 2009 move the static file [Todd Fisher]
README
A Simple Streaming Upload Server and Client

Example

ruby uploader.rb --port 3003 --authorizer authorizer.rb --auth-url http://yourhost/check --no-auth-redirect 
http://yourhost/login

# this says use the built in authorizing and have it send an http request to /check
# if it gets a denied response it will redirect to /login

# remember in order for the authorizer to work, it forwards cookies, so the domain of the uploader and the domain of the 
check app
# need to be the same.

Dependencies:
  client must have google gears installed

  make sure to create the data-files folder

Setup

  mkdir data-files

  ruby uploader.rb -p1337 

  or to use the uploader from a static file, see views/static.html