Base class for FTP implementations.


Expanded class hierarchy of FileTransferFTP


core/includes/filetransfer/, line 6


Contains filters are case sensitive
Name Modifiers Typesort descending Description
FileTransferFTP::__construct public function The constructor for the UpdateConnection class. This method is also called from the classes that extend this class and override this method. Overrides FileTransfer::__construct
FileTransferFTP::factory static function Overrides FileTransfer::factory
FileTransferFTP::getSettingsForm public function Returns the form to configure the FileTransfer class for FTP. Overrides FileTransfer::getSettingsForm
FileTransfer::__get function Implementation of the magic __get() method.
FileTransfer::connect abstract public function Connects to the server.
FileTransfer::copyDirectory final public function Copies a directory.
FileTransfer::chmod final public function Changes the permissions of the specified $path (file or directory).
FileTransfer::createDirectory public final function Creates a directory.
FileTransfer::removeDirectory public final function Removes a directory.
FileTransfer::copyFile public final function Copies a file.
FileTransfer::removeFile public final function Removes a file.
FileTransfer::checkPath protected final function Checks that the path is inside the jail and throws an exception if not.
FileTransfer::fixRemotePath protected final function Returns a modified path suitable for passing to the server.
FileTransfer::sanitizePath function Changes backslashes to slashes, also removes a trailing slash.
FileTransfer::copyDirectoryJailed protected function Copies a directory.
FileTransfer::createDirectoryJailed abstract protected function Creates a directory.
FileTransfer::removeDirectoryJailed abstract protected function Removes a directory.
FileTransfer::copyFileJailed abstract protected function Copies a file.
FileTransfer::removeFileJailed abstract protected function Removes a file.
FileTransfer::isDirectory abstract public function Checks if a particular path is a directory
FileTransfer::isFile abstract public function Checks if a particular path is a file (not a directory).
FileTransfer::findChroot function Returns the chroot property for this connection.
FileTransfer::setChroot function Sets the chroot and changes the jail to match the correct path scheme
FileTransfer::__set public function Implementation of the magic __set() method.
FileTransfer::__isset public function Implementation of the magic __isset() method.
FileTransfer::__unset public function Implementation of the magic __unset() method.
FileTransfer::$username protected property The username for this file transfer.
FileTransfer::$password protected property The password for this file transfer.
FileTransfer::$hostname protected property The hostname for this file transfer.
FileTransfer::$port protected property The port for this file transfer.
FileTransfer::$jail protected property Full path to directory where file-transfer is restricted to.
FileTransfer::$chrootPath private property Path to connection chroot.
FileTransfer::$connectionHandle private property The instantiated connection object.