SFTP Implementation¶
SFTP Uploader implementation
-
class
dput.uploaders.sftp.AskToAccept(uploader)¶ Paramiko policy to automatically add the hostname, but only after asking.
-
class
dput.uploaders.sftp.SFTPUploader(profile)¶ Provides an interface to upload files through SFTP.
This is a subclass of
dput.uploader.AbstractUploader-
initialize(**kwargs)¶
-
shutdown()¶
-
upload_file(filename, upload_filename=None)¶
-
-
exception
dput.uploaders.sftp.SftpUploadException¶ Thrown in the event of a problem connecting, uploading to or terminating the connection with the remote server. This is a subclass of
dput.exceptions.UploadException.
-
dput.uploaders.sftp.check_paramiko_version(req)¶ Return whether paramiko satisfies the given a version requirement (
req),
-
dput.uploaders.sftp.find_username(conf)¶ Given a profile (
conf), return the preferred username to login with. It falls back to getting the logged in user’s name.