Home » File System » VFS
Virtual File System API
This package is unmaintained.
Download latest release 0.3.0 (archived versions might be outdated)
License: LGPL
Description
This package provides a Virtual File System API, with backends for:
* SQL
* FTP
* Local filesystems
* Hybrid SQL and filesystem
* Samba
* SSH2/SFTP
* IMAP (Kolab)
Reading, writing and listing of files are all supported, and there are both object-based and array-based interfaces to directory listings.
Maintainers
- Chuck Hagenbuch (chagenbu) — lead, active
- Jan Schneider (yunosh) — lead, active
Dependencies
Required
- PHP (>= 4.3.0)
- PEAR Installer (>= 1.4.0b1)
- Log
- gettext (extension)
Releases
- 0.3.0 (beta, 2009-10-15)
Release notes
License: LGPL
* Rename fixes for SMB driver (leena.heino@uta.fi, Horde Bug #7933).
* Set LC_TIME to C for consistency in date parsing in the SSH2 backend (michael-dev@fami-braun.de, Horde Bug #6396)
* Pass -n for numeric UIDs/GIDs in the SSH2 backend when mapping to local user ids (Horde Request #6579)
* Fix readByteRange() (wrong method name) in SQL backend
* Add readFile() support, with optimizations for file, ftp, ssh2, and smb backends
* Add readStream() support to backends that can get a stream resource efficiently
* Add delete() as a shorter name for deleteFile()
* Add a Kolab VFS driver.
* Use streams for file transfers in VFS_ssh2 (jives@jives.ixum.net, Horde Request #8323)
* Check quota when copying files (Horde Bug #8643). - 0.2.0 (beta, 2008-02-16)
Release notes
License: LGPL
* Fix listing of folders with whitespace in the name using the SSH2 VFS driver (Horde Bug #6227).
* Fix some string parsing on systems that don't have the 'en' or 'en_US' locales installed (Horde Bug #6194).
* PHP 4.3.0+ is now required and we make unconditional use of file_get_contents().
* Use strlen() instead of empty() to check for paths and filenames being set, to allow for potential names of 0 (zero).
* Converted to package.xml 2.0.
* Fix saving files in the root directory of an SQL backend.
* Never generate paths with double slashes in them (//) (Horde Bug #5821)
* Improve Netware FTP support (Horde Bug #5821)
* Add read stream support to some backends (Horde Bug #5913)
* Make the smb backend compatible with samba versions after samba-3.0.25-pre2 (felix.leimbach@gmx.net, Horde Bug #5931) - 0.1.0 (beta, 2006-04-12)
Release notes
License: LGPL
* SQL drivers now return empty values if the particular parameter does not exist on the server (instead of '-').
* Add initial VFS quota support.
* Fix autocreatePath() to work with directory paths that begin with the base directory.
* Add 'maplocalids' and 'timeout' parameters to the FTP driver.
* In SQL driver, allow '/' to indicate the base directory.
* Fix return value of deleteFile() in File and SQLFile drivers (PEAR Bug #4425).
* Fix listFolders() in File driver (PEAR Bug #4533).
* Add size() and readByteRange(), with File and SQL implementations.
* Add support for NetWare FTP server listings (Lukas Macura <macura@opf.slu.cz>).
* Add support for separate read and write DB servers for the SQL driver.
* Add copy() and move() fallback implementations for all drivers.
* Add parameters to copy() and move() to automatically create destination directories.
* Add SSH2/SFTP driver (Cliff Green <green@umdnj.edu>).
* Let rename() automatically create the destination path.
* Make sure copy/move doesn't result in infinite recursion (Horde Bug #3680). - 0.0.5 (beta, 2005-04-07)
Release notes
License: LGPL
* Fix typo that prevented the sql_file driver to load its parameters.
* PHP 5 compatibility fixes.
* Add 'pasv' parameter for FTP driver.
* Add writeData() method to sql_file driver.
* Support ~/path when a 'home' parameter is defined.
* Add a CLI script for accessing and modifying VFS backends.
* Added getCurrentDirectory() method.
* phpdoc has been updated and should now generate correctly in all files.
* Return error if trying to copy a file onto itself with the file driver (http://bugs.horde.org/ticket/?id=168).
* Several bug fixes to listFolders() method in SQL drivers.
* A PEAR Log object can now be specified for logging messages to.
* Added getParam() method.
* Allow recursive listings in listFolder().
* Several fixes with zero length files.
* Fixed autocreating of directories and updating of existing files in the sql_file VFS driver (http://bugs.horde.org/ticket/?id=1552, http://bugs.horde.org/ticket/?id=1553).
* Added SQL scripts to create tables for SQL backends.
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #2298 | Closed | Bug | 2004-09-07 | Error when writing empty file to FS | |
| #4425 | Closed | Bug | 2005-05-25 | missing return value | |
| #4533 | Closed | Bug | 2005-06-06 | Error at file (file.php) | |
| #4837 | Bogus | Req | 2005-07-14 | Copy in the same path | |
| #8371 | Closed | Bug | 0.1.0 | 2006-08-06 | emptyFolder can return NULL |
| #9562 | Closed | Bug | 0.1.0 | 2006-12-06 | FTP driver doesn't support user groups with spaces |
| #9975 | Closed | Bug | 0.1.0 | 2007-01-30 | l |
| #14067 | Wont fix | Req | 0.2.0 | 2008-06-04 | Add overlay driver |
| #17140 | Bogus | Bug | 0.3.0 | 2010-02-20 | isFolder fails with a valid folder |
| #17795 | Wont fix | Bug | 0.3.0 | 2010-08-22 | VFS referring files from packages not present in PEAR |
| #19285 | Bogus | Bug | 0.3.0 | 2012-02-10 | there is a typo in a file that looks for wrong dep |