X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=README;h=30e9c388c190be3d441bc8034e92bf6367f9093a;hb=9524936cc784559ef7a6628070f6002d295af13a;hp=b97d1adfc6feaca7e545b7784e9b7898e8c913ad;hpb=ba3dcfbc5909e36646408b2c396ee7324b6f6fb1;p=uploader.git diff --git a/README b/README index b97d1ad..30e9c38 100644 --- a/README +++ b/README @@ -1,3 +1,20 @@ -Simplest form file uploader. +Simplest HTTP form file uploader. + It just saves uploaded file from HTML form to the new file on the disk. -Also it calculates BLAKE2s checksum, replying with it in the answer. +Also it calculates BLAKE2b-512 checksum, replying with it in the answer. + +You can upload files with curl: + + curl -F file=@somedata.tar.gpg \ + [ -F comment="optional comment" ] \ + http://localhost:8086/upload/ + +and verify integrity locally: + + b2sum -a blake2b somedata.tar.gpg + +You can enable mail notification with -notify-to and -notify-from options. +It is advisable to run it under daemontools-like supervisor +(http://cr.yp.to/daemontools.html). Example service/uploader provided. + +uploader is free software: see the file COPYING for copying conditions.