Skip to main content

ftp client wrapper to simplify working with paramiko or ftplib

Project description

FTP client wrapper

pyftpclient is a library that is made to make work with FTP/SFTP simple. it has the common functions that you would use when working with a regular file system, like open a file listdir, and glob, delete file or directory. It also has funcitons to simple download/upload of the files and directories from/to remote drive. The library takes care about opening and closing the sessions, so you don't have to worry about it

SFTPClient example

from pyftpclient.sftp_client import SFTPClient

connection_config = {
    'hostname': '',
    'username': 'viewonly',
    'password': 'viewonly'

with SFTPClient(**connection_config) as sftp:
    sftp.download_file('/home/src_file'), '~/dst_file')
    sftp.download_tree(src_dir, dst_dir)

FTPClient example

from pyftpclient.ftp_client import FTPClient

connection_config = {
    'hostname': '',
    'username': 'viewonly',
    'password': 'viewonly'
    'port': 21

with FTPClient(**connection_config) as ftp:
    ftp.download_file('/home/src_file'), '~/dst_file')
    ftp.download_tree(src_dir, dst_dir)

Project details

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pyftpclient-0.1.10.tar.gz (4.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page