transfer_more
transfer_more
transfer.sh clone in Crystal-lang
Multi-part is not supported yet (so big files may not pass)
Installation
make # build the app
make test # run unit test
make doc # build the documentation
Usage
Server
export TRANSFER_BASE_URL="https://domain.com:80"
export TRANSFER_BASE_STORAGE="/tmp"
./transfer_more
Files older than 7 days are destroyed.
./transfer_more --help
-b HOST, --bind HOST Host to bind (defaults to 0.0.0.0)
-p PORT, --port PORT Port to listen for connections (defaults to 3000)
-e ENV, --environment ENV Environment [development, production] (defaults to development). Set `production` to boost performance
-s, --ssl Enables SSL
--ssl-key-file FILE SSL key file
--ssl-cert-file FILE SSL certificate file
-h, --help Shows this help
Client
curl --progress-bar --upload-file file.mp4 http://domain/name.mp4
Development
TODO: Write development instructions here
Contributing
- Fork it ( https://github.com/Nephos/transfer_more/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- Nephos Arthur Poulet - creator, maintainer