A naive file uploader.
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.
$ ruby uploader.rb --help
Usage: uploader [options]
-p, --port NUMBER
-u, --upload DIRECTORY