waft.system.clients.ssh_client.sftp_manager module¶
- class waft.system.clients.ssh_client.sftp_manager.SftpManager(connection: SshConnection)¶
Bases:
FileTransferOps
SftpManager class extends file transfer operations as a means of transferring files
- get_file(remote_file_path: PurePath, local_file_path: Path) Result ¶
Sftp get a file from a remote node
- send_file(remote_file_path: PurePath, local_file_path: Path) Result ¶
Send a file from a local system to a remote system via SFTP
- Parameters:
remote_file_path – Path where the remote file will land
local_file_path – Path where the local file exists
- Returns:
Result