ftputil

A free high-level FTP client library for Python
Download

ftputil Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Price:
  • FREE
  • Publisher Name:
  • Stefan Schwarzer
  • Publisher web site:
  • http://sschwarzer.net/
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 100 KB

ftputil Tags


ftputil Description

A free high-level FTP client library for Python 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 ftputil library supports many functions similar to those in the os, os.path and shutil modules. ftputil has convenience functions for conditional downloads and uploads, and handles FTP clients and servers in different timezones. Here are some key features of "ftputil": · Method names are familiar from Python's os, os.path and shutil modules · Remote file system navigation (getcwd, chdir) · Upload and download files (upload, upload_if_newer, download, download_if_newer) · Time zone synchronization between client and server (needed for upload_if_newer and download_if_newer) · Create and remove directories (mkdir, makedirs, rmdir, rmtree) and remove files (remove) · Get information about directories, files and links (listdir, stat, lstat, exists, isdir, isfile, islink, abspath, split, join, dirname, basename etc.) · Iterate over remote file systems (walk) · Local caching of results from lstat and stat calls to reduce network access (also applies to exists, getmtime etc.). · Read files from and write files to remote hosts via file-like objects (FTPHost.file; the generated file-like objects have many common methods like read, readline, readlines, write, writelines, close and can do automatic line ending conversions on the fly, i. e. text/binary mode)


ftputil Related Software