6 stable releases
1.0.5 | Feb 15, 2023 |
---|---|
1.0.4 | Feb 4, 2023 |
#15 in #tcp-client
25 downloads per month
16KB
345 lines
zifer
Transfer files over network using cli
Download
Curently only supported method is cargo
- Cargo
cargo install zifer
How to download from server
- Start the server using
zifer -s .
- Where
-s .
says to start in server mode in the current dircetory
- Where
- Initialize download
zifer -c 127.0.0.1 -d -f /work/some-file.txt
- Where
-c
specifies its in client mode and as argument it expects an ip address - Where
-d
specifes that we are about to download - And
-f /work/some-file.txt
specifies the file name
- Where
How to upload to server
- Start the server using
zifer -s .
- Where
-s .
says to start in server mode in the current dircetory
- Where
- Initialize upload to server
zifer -c 127.0.0.1 -u -f /work/some-file.txt
- Where
-c
specifies its in client mode and as argument it expects an ip address - Where
-u
specifes that we are about to download - And
-f /work/some-file.txt
specifies the file name
- Where
Options
-s, --server <SERVER>
-c, --client <CLIENT>
-f, --file <FILE>
-d, --download
-u, --upload
-h, --help
-V, --version
Dependencies
~5–11MB
~109K SLoC