From sschwarzer at sschwarzer.net Sat Oct 31 19:57:33 2009 From: sschwarzer at sschwarzer.net (Stefan Schwarzer) Date: Sat, 31 Oct 2009 19:57:33 +0100 Subject: [ftputil] [ANN] ftputil 2.4.2 beta 2 released Message-ID: <4AEC889D.1090101@sschwarzer.net> ftputil 2.4.2b2 is now available from http://ftputil.sschwarzer.net/download . Changes since version 2.4.2b ---------------------------- Albrecht M?hlenschulte found that ftputil's installation script didn't support the `--home` option (ticket #41) and helped testing a fix. A side effect of the fix is that the documentation files (ftputil.txt, README.txt and their HTML variants) are no longer installed in the same directory as the Python modules. Instead, they're placed in a `doc` directory relative to a directory determined by Distutils. (On my Linux system, the documentation files are thus installed in /usr/local/doc if no `--home` option is supplied.) Please tell me if you see a problem with this new behavior. In that case, suggestions for alternative approaches are welcome. What is ftputil? ---------------- 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. Read the documentation at http://ftputil.sschwarzer.net/documentation . License ------- ftputil is Open Source software, released under the revised BSD license (see http://www.opensource.org/licenses/bsd-license.php ). Stefan From sschwarzer at sschwarzer.net Thu Nov 12 16:11:06 2009 From: sschwarzer at sschwarzer.net (Stefan Schwarzer) Date: Thu, 12 Nov 2009 16:11:06 +0100 Subject: [ftputil] [ANN] ftputil 2.4.2 released Message-ID: <4AFC258A.7090706@sschwarzer.net> ftputil 2.4.2 is now available from http://ftputil.sschwarzer.net/download . Changes since version 2.4.1 --------------------------- - Some FTP servers seem to have problems using *any* directory argument which contains slashes. The new default for FTP commands now is to change into the directory before actually invoking the command on a relative path (report and fix suggestion by Nicola Murino). - Calling the method ``FTPHost.stat_cache.resize`` with an argument 0 caused an exception. This has been fixed; a zero cache size now of course doesn't cache anything but doesn't lead to a traceback either. - The installation script ``setup.py`` didn't work with the ``--home`` option because it still tried to install the documentation in a system directory (report by Albrecht M?hlenschulte). As a side effect, when using the *global* installation, the documentation is no longer installed in the ftputil package directory but in a subdirectory ``doc`` of a directory determined by Distutils. For example, on my system (Ubuntu 9.04) the documentation files are put into ``/usr/local/doc``. Upgrading is recommended. What is ftputil? ---------------- 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. Read the documentation at http://ftputil.sschwarzer.net/documentation . License ------- ftputil is Open Source software, released under the revised BSD license (see http://www.opensource.org/licenses/bsd-license.php ). Stefan