Skip to main content

A python program that facilitates uploading and downloading of files to/from an SFTP server

Project description

Overview

A Python library that facilitates uploading and downloading of files to/from an SFTP server using either username/password or username/sshkey.

Install It

From PyPI

$ pip install sftpwrapper

New in v0.2.1

Defaults to port 22

Logging works with the new version of Paramiko

HostKey and Private Key support for connecting to SFTP server (have to provide the file path and encryption)

Code Example

from sftpwrapper import SftpWrapper

remote_connection = SftpWrapper(host, port) remote_connection.host_connect(user, password) upload_good = remote_connection.upload_stuffs(csv_name, remote + csv_name) remote_connection.host_disconnect()

Dependencies

  • paramiko

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for sftpwrapper, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size sftpwrapper-0.2.2.tar.gz (4.0 kB) File type Source Python version None Upload date Hashes View
Filename, size sftpwrapper-0.2.2-py3-none-any.whl (4.1 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page