I want a simple FTP server written in Erlang or Elixir if at all possible.
FTP server overview
Listen on TCP port 9921.
Does not have to be an application. Can be a script.
Client opens a passive FTP connection.
Implement one command, PUT.
User uploads a (small) file (max 1MB in size).
The file is saved as a manifest and n * 10k blocks, each as a file in a given directory.
The manifest will record the order and individual id's of the blocks.
Each file will contain two elements, the id of the manifest and the data payload.
That's it. Price is negotiable BTW. I'm looking for MVP.