Skip to main content

transfer_files

Function transfer_files 

Source
pub fn transfer_files(
    runner: &dyn ProcessRunner,
    session: &SshSession,
    locals: &[&Path],
    remote_dir: &str,
) -> Result<()>
Expand description

Copy files with rsync when available, otherwise scp.

ยงErrors

Returns crate::HortoError when transfer fails.