Create a new SFTPClient
by specifying their options
.
Create a new SFTPClient
by specifying their options
.
Options passed by the user on the DataFrameReader or DataFrameWriter API.
Downloads files from remote host.
Downloads files from remote host.
Remote file/directory path.
Local directory path.
Returns unit of successful download.
Gets the SFTP upload mode based on the provided Spark DataFrameWriter save mode.
Gets the SFTP upload mode based on the provided Spark DataFrameWriter save mode.
SFTP client instance.
Target file path to upload on the remote machine.
Spark DataFrame save mode to determine the file upload mode.
SFTP upload mode.
0.3.0
Uploads local files to remote host.
Uploads local files to remote host.
Local file/directory path.
Remote directory path.
Spark DataFrame Write Mode.
Returns unit of successful upload.
The
SFTPClient
class providesupload
anddownload
methods to transfer files to/from remote host via SFTP.0.1.0