SFT
Multithreaded utility to send files over TCP.
The sender writes a header containing the filename, and then the contents of the file, buffered, to the TCP stream.
The receiver receives the header, and then the buffered file contents from the TCP stream, and writes them to a file.
Build
Run cargo build --release
Usage
Receiver:
./sft receive <output directory> <optional: port>
Sender:
./sft send <receiver ip> <filename> <optional: port>