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.

Source Distribution

sftpwrapper-0.2.2.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

sftpwrapper-0.2.2-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page