Skip to content

Latest commit

 

History

History
80 lines (54 loc) · 2.23 KB

README.rst

File metadata and controls

80 lines (54 loc) · 2.23 KB

ftps

License PyPI version Continuous Integration Coverage Code Health Documentation Status Updates

ftps client based on pycurl

Motivation

If you use the python standard library to connect to an ftps server, you might have to face some bugs as described here and there.

An alternative is to give a try to pycurl which doesn't have those problems. However, its interface is not very python and sometimes is not very pleasant to work with it.

The goal of this small library is to provide a wrapper around pycurl that can be used easily in a pythonic way.

Features

  • List remote path
  • Download remote file
  • Upload local file

Quick start

import ftps

client = ftps.FTPS('ftps://<user>:<passwd>@<server>')
client.list()
client.download(<remote_filename>, <local_filename>)
client.upload(<local_filename>, <remote_filename>)

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.