Skip to main content

print_sftp_transfer_json

Function print_sftp_transfer_json 

Source
pub fn print_sftp_transfer_json(
    direction: &str,
    vps: &str,
    local: &str,
    remote: &str,
    bytes: u64,
    duration_ms: u64,
    recursive: bool,
) -> Result<()>
Expand description

Prints an SFTP transfer result as JSON (G-SFTP-09).

ยงErrors

Serialization or stdout I/O.