quick-file-transfer 0.10.2

Transfer files quickly, safely, and painlessly between hosts on a local network
Documentation
1
2
3
4
5
6
7
8
9
// Takes the args and produces a string of the command that should be executed on the remote
// to match the given SendSshArgs
pub(super) fn remote_qft_command_str(tcp_port: u16, verbosity: &str) -> String {
    let mut cmd = String::from("qft listen --remote ");
    cmd.push_str(verbosity);
    cmd.push_str(" --port ");
    cmd.push_str(tcp_port.to_string().as_str());
    cmd
}