Cryptographically secure file transfer CLI tool
Go to file
2023-03-30 00:29:29 +03:00
.github/workflows Correct address binding 2022-08-12 00:44:07 +03:00
docs fixed shields.io links 2022-12-18 15:12:41 +02:00
src base64 encode payloads (allows the use of msg delimiters) 2023-03-29 20:20:47 +03:00
tests prepare folder structure for gui testing 2023-03-30 00:29:29 +03:00
.gitignore Initial commit 2022-07-10 22:16:50 +03:00
Cargo.lock manually update dependencies 2023-03-02 16:47:47 +02:00
Cargo.toml Bump tokio from 1.20.3 to 1.20.4 (#2) 2023-03-02 16:33:32 +02:00
LICENSE Initial commit 2022-07-10 22:16:50 +03:00
README.md minor rename, accurate variable names 2023-03-08 01:45:29 +02:00

Socket pair for FTP like file transfer

Single binary containing both server and client.

Installation and usage

Quickly run with:

cargo run -- <OPTIONS>

or create and run an optimized, independent binary:

cargo build --release
./target/release/fragilebyte <OPTIONS>

If no options are specified the app starts as a server by default. It can be started as a client by defining a target address:

USAGE:
    fragilebyte [OPTIONS]

OPTIONS:
    -b, --chunksize <CHUNKSIZE>      Chunksize used in the file transfer (bytes) [default: 8192]
    -f, --fileroot <FILEROOT>        Path to the folder where the files are outputted as a client or
                                     served from as a server [default: './output' / './data']
    -h, --help                       Print help information
        --localhost                  Run only in the local network
    -p, --port <PORT>                Port where the service is hosted [default: 8080]
    -t, --target <TARGET>            Server's address when connecting as a client
        --timeout <TIMEOUT>          Seconds of inactivity after which the server closes itself
                                     [default: 30]
    -V, --version                    Print version information

Dependencies

DependenciesGraph