Robot Framework SSH Library
SSHLibrary.javaclient.SCPTransferClient Class Reference
Inheritance diagram for SSHLibrary.javaclient.SCPTransferClient:
SSHLibrary.javaclient.SFTPClient SSHLibrary.abstractclient.AbstractSFTPClient

Public Member Functions

def __init__ (self, ssh_client, encoding)
 
- Public Member Functions inherited from SSHLibrary.abstractclient.AbstractSFTPClient
def __init__ (self, encoding)
 
def is_file (self, path)
 Checks if the path points to a regular file on the remote host. More...
 
def is_dir (self, path)
 Checks if the path points to a directory on the remote host. More...
 
def list_dir (self, path, pattern=None, absolute=False)
 Gets the item names, or optionally the absolute paths, on the given path on the remote host. More...
 
def list_files_in_dir (self, path, pattern=None, absolute=False)
 Gets the file names, or optionally the absolute paths, of the regular files on the given path on the remote host. More...
 
def list_dirs_in_dir (self, path, pattern=None, absolute=False)
 Gets the directory names, or optionally the absolute paths, on the given path on the remote host. More...
 
def get_directory (self, source, destination, scp_preserve_time, path_separator='/', recursive=False)
 
def build_destination (self, source, destination, path_separator)
 Add parent directory from source to destination path if destination is '. More...
 
def get_parent_folder (self, source, path_separator)
 
def get_file (self, source, destination, scp_preserve_times, path_separator='/')
 Downloads file(s) from the remote host to the local machine. More...
 
def put_directory (self, source, destination, scp_preserve_times, mode, newline, path_separator='/', recursive=False)
 Uploads directory(-ies) from the local machine to the remote host, optionally with subdirectories included. More...
 
def put_file (self, sources, destination, scp_preserve_times, mode, newline, path_separator='/')
 Uploads the file(s) from the local machine to the remote host. More...
 
def create_local_ssh_tunnel (self, local_port, remote_host, remote_port, client)
 

Private Member Functions

def _put_file (self, source, destination, mode, newline, path_separator, scp_preserve_times)
 
def _get_file (self, remote_path, local_path, scp_preserve_times)
 

Private Attributes

 _scp_client
 

Detailed Description

Definition at line 232 of file javaclient.py.

Constructor & Destructor Documentation

◆ __init__()

def SSHLibrary.javaclient.SCPTransferClient.__init__ (   self,
  ssh_client,
  encoding 
)

Reimplemented from SSHLibrary.javaclient.SFTPClient.

Definition at line 234 of file javaclient.py.

Member Function Documentation

◆ _get_file()

def SSHLibrary.javaclient.SCPTransferClient._get_file (   self,
  remote_path,
  local_path,
  scp_preserve_times 
)
private

Reimplemented from SSHLibrary.javaclient.SFTPClient.

Definition at line 242 of file javaclient.py.

◆ _put_file()

def SSHLibrary.javaclient.SCPTransferClient._put_file (   self,
  source,
  destination,
  mode,
  newline,
  path_separator,
  scp_preserve_times 
)
private

Reimplemented from SSHLibrary.abstractclient.AbstractSFTPClient.

Definition at line 238 of file javaclient.py.

Member Data Documentation

◆ _scp_client

SSHLibrary.javaclient.SCPTransferClient._scp_client
private

Definition at line 235 of file javaclient.py.


The documentation for this class was generated from the following file: