The local connection class for copying files as the httpd user.

Hierarchy

Expanded class hierarchy of FileTransferLocal

File

core/includes/filetransfer/local.inc, line 6

Members

Contains filters are case sensitive
Name Modifiers Type Descriptionsort descending
FileTransfer::sanitizePath function Changes backslashes to slashes, also removes a trailing slash.
FileTransferLocal::chmodJailed public function Changes the permissions of the file / directory specified in $path Overrides FileTransferChmodInterface::chmodJailed
FileTransfer::chmod final public function Changes the permissions of the specified $path (file or directory).
FileTransferLocal::isDirectory public function Checks if a particular path is a directory Overrides FileTransfer::isDirectory
FileTransferLocal::isFile public function Checks if a particular path is a file (not a directory). Overrides FileTransfer::isFile
FileTransfer::checkPath protected final function Checks that the path is inside the jail and throws an exception if not.
FileTransferLocal::factory static function Classes that extend this class must override the factory() static method. Overrides FileTransfer::factory
FileTransferLocal::connect public function Connects to the server. Overrides FileTransfer::connect
FileTransfer::copyDirectory final public function Copies a directory.
FileTransfer::copyDirectoryJailed protected function Copies a directory.
FileTransferLocal::copyFileJailed protected function Copies a file. Overrides FileTransfer::copyFileJailed
FileTransfer::copyFile public final function Copies a file.
FileTransferLocal::createDirectoryJailed protected function Creates a directory. Overrides FileTransfer::createDirectoryJailed
FileTransfer::createDirectory public final function Creates a directory.
FileTransfer::$jail protected property Full path to directory where file-transfer is restricted to.
FileTransfer::__get function Implementation of the magic __get() method.
FileTransfer::__isset public function Implementation of the magic __isset() method.
FileTransfer::__set public function Implementation of the magic __set() method.
FileTransfer::__unset public function Implementation of the magic __unset() method.
FileTransfer::$chrootPath private property Path to connection chroot.
FileTransferLocal::removeDirectoryJailed protected function Removes a directory. Overrides FileTransfer::removeDirectoryJailed
FileTransfer::removeDirectory public final function Removes a directory.
FileTransferLocal::removeFileJailed protected function Removes a file. Overrides FileTransfer::removeFileJailed
FileTransfer::removeFile public final function Removes a file.
FileTransfer::getSettingsForm public function Returns a form to collect connection settings credentials.
FileTransfer::fixRemotePath protected final function Returns a modified path suitable for passing to the server.
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::__construct function The constructor for the FileTransfer class.
FileTransfer::$hostname protected property The hostname for this file transfer.
FileTransfer::$connectionHandle private property The instantiated connection object.
FileTransfer::$password protected property The password for this file transfer.
FileTransfer::$port protected property The port for this file transfer.
FileTransfer::$username protected property The username for this file transfer.