ftputil

Purpose

ftputil is a high-level FTP client library for the Python programming language. ftputil implements a virtual file system for accessing FTP servers, that is, it can generate file-like objects for remote files. The library supports many functions similar to those in the os, os.path and shutil modules. ftputil has convenience functions for conditional uploads and downloads, and handles FTP clients and servers in different timezones.

What's new?

Since version 2.4.1 the following changed:

Incompatibility notice

When doing a system-wide installation, the documentation files are now placed in another location than before (see last paragraph of the previous section). This doesn't change anything regarding the use of the library, though.

Both the xreadlines method and the long-deprecated direct access of exceptions via the ftputil module (as in ftputil.PermanentError) will be removed in ftputil 2.5. Starting with that version, exception classes will only be accessible via the ftp_error module.

The distribution contains a small tool find_deprecated_code.py to scan a directory for the deprecated uses. Invoke the program with the --help option to see a description.

Documentation

The documentation for ftputil can be found in the file ftputil.txt (reStructuredText format) or ftputil.html (recommended, generated from ftputil.txt).

Prerequisites

To use ftputil, you need Python, at least version 2.3. Python is a programming language, available from http://www.python.org for free.

Installation

If you have easy_install installed, you can install the current version of ftputil directly from the Python Package Index (PyPI) without downloading the package explicitly.

License

ftputil is Open Source Software. It is distributed under the new/modified/revised BSD license (see http://www.opensource.org/licenses/bsd-license.html ).

Authors

Stefan Schwarzer <sschwarzer@sschwarzer.net>

Evan Prodromou <evan@bad.dynu.ca> (lrucache module)

Please provide feedback! It's certainly appreciated. :-)