Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
uploader.rb

README.md

Uploader

A naive file uploader.

How to use

Clone this repository and execute uploader.rb.

$ ruby uploader.rb

Or curl and execute it.

$ curl -sL https://git.io/uploaderrb | ruby -

Then, open http://localhost:4567 and upload a file. It will be uploaded to upload directory by default.

Options

$ ruby uploader.rb --help
Usage: uploader [options]
    -p, --port NUMBER
    -u, --upload DIRECTORY