README.md

FTP like server over Cap’n Proto #

Create a directory structure

root/
 +- alice/
 +- bob/
 +- public/

Run the server passing the top level folder as the parameter.

dune exec -- ./server.exe --capnp-secret-key-file server.pem --capnp-listen-address tcp:127.0.0.1:7000 root

This will create a .cap file for each folder under root. These .cap files can be shared as required.

Then run the client, where foo is the name of a file within the alice folder.

dune exec -- ./client.exe ./alice.cap foo