X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=README;h=8c3a52951f71c6b156ffd144395c4919c1e9780f;hb=afe96d991c820d89b861eb29e2fd6a12184dffc0;hp=912997137379f897d1f7abfa415318840bc7979f;hpb=595d466b7678ffef26bc54e89f4a5731efe5edc0;p=uploader.git diff --git a/README b/README index 9129971..8c3a529 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 BLAKE2s checksum, replying with it in the answer. +Also it calculates BLAKE3-256 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: + + b3sum 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 blake2s somedata.tar.gpg +uploader is free software: see the file COPYING for copying conditions.