Skip to content

pir2/ftps

 
 

Repository files navigation

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.

About

FTPS client based on pycurl

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 86.2%
  • Makefile 13.8%