FileTransferFTPExtension
class FileTransferFTPExtension
Hierarchy
- class \FileTransfer
- class \FileTransferFTP
- class \FileTransferFTPExtension implements FileTransferChmodInterface
- class \FileTransferFTP
Expanded class hierarchy of FileTransferFTPExtension
File
- includes/filetransfer/ftp.inc, line 51
Members
Name | Modifiers | Type | Description |
---|---|---|---|
FileTransfer::$hostname | protected | property | |
FileTransfer::$password | protected | property | |
FileTransfer::$port | protected | property | |
FileTransfer::$username | protected | property | |
FileTransfer::checkPath | protected final | function | Checks that the path is inside the jail and throws an exception if not. |
FileTransfer::chmod | public final | function | |
FileTransfer::copyDirectory | public final | function | Copies a directory. |
FileTransfer::copyDirectoryJailed | protected | function | Copies a directory. |
FileTransfer::copyFile | public final | function | Copies a file. |
FileTransfer::createDirectory | public final | function | Creates a directory. |
FileTransfer::findChroot | function | Return the chroot property for this connection. | |
FileTransfer::fixRemotePath | protected final | function | Returns a modified path suitable for passing to the server. If a path is a windows path, makes it POSIX compliant by removing the drive letter. If $this->chroot has a value, it is stripped from the path to allow for chroot'd filetransfer systems. |
FileTransfer::removeDirectory | public final | function | Removes a directory. |
FileTransfer::removeFile | public final | function | Removes a file. |
FileTransfer::sanitizePath | function | Changes backslashes to slashes, also removes a trailing slash. | |
FileTransfer::setChroot | function | Sets the chroot and changes the jail to match the correct path scheme | |
FileTransfer::__get | function | Implementation of the magic __get() method. | |
FileTransferFTP::factory | static | function | Return an object which can implement the FTP protocol. Overrides FileTransfer::factory |
FileTransferFTP::getSettingsForm | public | function | Returns the form to configure the FileTransfer class for FTP. Overrides FileTransfer::getSettingsForm |
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 |
FileTransferFTPExtension::chmodJailed | function | Changes the permissions of the file / directory specified in $path Overrides FileTransferChmodInterface::chmodJailed | |
FileTransferFTPExtension::connect | public | function | Connect to the server. Overrides FileTransfer::connect |
FileTransferFTPExtension::copyFileJailed | protected | function | Copies a file. Overrides FileTransfer::copyFileJailed |
FileTransferFTPExtension::createDirectoryJailed | protected | function | Creates a directory. Overrides FileTransfer::createDirectoryJailed |
FileTransferFTPExtension::isDirectory | public | function | Checks if a particular path is a directory Overrides FileTransfer::isDirectory |
FileTransferFTPExtension::isFile | public | function | Checks if a particular path is a file (not a directory). Overrides FileTransfer::isFile |
FileTransferFTPExtension::removeDirectoryJailed | protected | function | Removes a directory. Overrides FileTransfer::removeDirectoryJailed |
FileTransferFTPExtension::removeFileJailed | protected | function | Removes a file. Overrides FileTransfer::removeFileJailed |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!filetransfer!ftp.inc/class/FileTransferFTPExtension/7.x