VFS implementation for an FTP server.
Required values for $params:
'username' The username with which to connect to the ftp server. 'password' The password with which to connect to the ftp server. 'hostspec' The ftp server to connect to.
Optional values for $params:
'lsformat' The return formatting from the 'ls' command). Values: 'aix', 'standard' (default) 'maplocalids' If true and the POSIX extension is available, the driver will map the user and group IDs returned from the FTP server with the local IDs from the local password file. This is useful only if the FTP server is running on localhost or if the local user/group IDs are identical to the remote FTP server. 'pasv' If true, connection will be set to passive mode. 'port' The port used to connect to the ftp server if other than 21. 'ssl' If true, and PHP had been compiled with OpenSSL support, TLS transport-level encryption will be negotiated with the server. 'timeout' If defined, use this value as the timeout for the server. 'type' The type of the remote FTP server. Possible values: 'unix', 'win', 'netware' By default, we attempt to auto-detect type.
$Horde: framework/VFS/lib/VFS/ftp.php,v 1.1.2.7 2009/10/15 17:18:48 jan Exp $
Copyright 2002-2009 The Horde Project (http://www.horde.org/) Copyright 2002-2007 Michael Varghese <mike.varghese@ascellatech.com>
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
Class | Description |
---|---|
![]() |
VFS implementation for an FTP server. |
Documentation generated on Sun, 30 Jan 2011 05:17:40 +0000 by phpDocumentor 1.4.3