ftps client based on pycurl
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.
- List remote path
- Download remote file
- Upload local file
import ftps client = ftps.FTPS('ftps://<user>:<passwd>@<server>') client.list() client.download(<remote_filename>, <local_filename>) client.upload(<local_filename>, <remote_filename>)
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.