Skip to main content

run_scp_download_with_client

Function run_scp_download_with_client 

Source
pub async fn run_scp_download_with_client(
    vps_name: &str,
    remote: &Path,
    local: &Path,
    client: Box<dyn SshClientTrait>,
    json: bool,
) -> Result<()>
Expand description

Testable SCP download that accepts the client as a parameter.