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.