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.

Filename, size & hash SHA256 hash help File type Python version Upload date
ftp_proxy_client-0.0.7-py3-none-any.whl (4.7 kB) Copy SHA256 hash SHA256 Wheel py3
ftp-proxy-client-0.0.7.tar.gz (5.7 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