X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=README;h=4f2abcba60381b68b0c92b2cfba300426a469233;hb=b9b48a3e2d1c9dca2e0b2c9668e69dc892a2efee;hp=823492a49f8895b01a55c1ec6d3b0b1b2b8fad4b;hpb=8c7c24d7d63fd2c4b5216a1961bad468613ba461;p=uploader.git diff --git a/README b/README index 823492a..4f2abcb 100644 --- a/README +++ b/README @@ -1,11 +1,23 @@ -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 BLAKE2b 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 fileupload=@somedata.tar.gpg http://localhost:8086/upload/ + curl -F file=@somedata.tar.gpg \ + [ -F comment="optional comment" ] \ + http://localhost:8086/upload/ + +and verify integrity locally: + + b2sum 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. -You can verify integrity locally: +You can also run it as UCSPI-TCP service (https://cr.yp.to/ucspi-tcp.html), +like in service/uploader example. - b2sum -a blake2b somedata.tar.gpg +uploader is free software: see the file COPYING for copying conditions.