Skip to main content

python client for ftp-proxy server

Project description

# ftp-proxy-client ![travis](
An FTP client for [ftp-proxy](

## Current features:
- Test successful connection to FTP server through proxy
- List files and directories
- Download a file

## Installation
`pip install ftp-proxy-client`

## Usage
ftp_proxy = FtpProxy(host='foo', port=8080)
ftp_client = ftp_proxy.connect('', port=8080, login='foobar')

assert is True
files, directories =
assert files and directories

files2, directories =
assert len(files2) > len(files)

files3, directories =, extension='.txt')
assert not directories
assert files3[0].endswith('.txt')

fp ='/foo.txt')
with open('/tmp/foo.txt', 'wb') as ff:
assert fp.tell() > 0

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 ftp-proxy-client, version 0.0.7
Filename, size File type Python version Upload date Hashes
Filename, size ftp_proxy_client-0.0.7-py3-none-any.whl (4.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size ftp-proxy-client-0.0.7.tar.gz (5.7 kB) File type Source Python version None Upload date Hashes View

Supported by

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