The SSH connection class for the update module.
Hierarchy
- class FileTransfer
- class FileTransferSSH implements FileTransferChmodInterface
Expanded class hierarchy of FileTransferSSH
File
- includes/
filetransfer/ ssh.inc, line 6
Members
Name | Modifiers | Type | Description |
---|---|---|---|
FileTransfer:: |
protected | property | |
FileTransfer:: |
protected | property | |
FileTransfer:: |
protected | property | |
FileTransfer:: |
protected | property | |
FileTransfer:: |
protected final | function | Checks that the path is inside the jail and throws an exception if not. |
FileTransfer:: |
public final | function | |
FileTransfer:: |
public final | function | Copies a directory. |
FileTransfer:: |
public final | function | Copies a file. |
FileTransfer:: |
public final | function | Creates a directory. |
FileTransfer:: |
function | Returns the chroot property for this connection. | |
FileTransfer:: |
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:: |
function | Implementation of the magic __get() method. | |
FileTransfer:: |
public final | function | Removes a directory. |
FileTransfer:: |
public final | function | Removes a file. |
FileTransfer:: |
function | Changes backslashes to slashes, also removes a trailing slash. | |
FileTransfer:: |
function | Sets the chroot and changes the jail to match the correct path scheme | |
FileTransferSSH:: |
function |
Changes the permissions of the file / directory specified in $path Overrides FileTransferChmodInterface:: |
|
FileTransferSSH:: |
public | function |
Connects to the server. Overrides FileTransfer:: |
FileTransferSSH:: |
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:: |
|
FileTransferSSH:: |
protected | function |
Copies a directory. Overrides FileTransfer:: |
FileTransferSSH:: |
protected | function |
Copies a file. Overrides FileTransfer:: |
FileTransferSSH:: |
protected | function |
Creates a directory. Overrides FileTransfer:: |
FileTransferSSH:: |
static | function |
Classes that extend this class must override the factory() static method. Overrides FileTransfer:: |
FileTransferSSH:: |
public | function |
Returns the form to configure the FileTransfer class for SSH. Overrides FileTransfer:: |
FileTransferSSH:: |
public | function |
WARNING: This is untested. It is not currently used, but should do the trick. Overrides FileTransfer:: |
FileTransferSSH:: |
public | function |
Checks if a particular path is a file (not a directory). Overrides FileTransfer:: |
FileTransferSSH:: |
protected | function |
Removes a directory. Overrides FileTransfer:: |
FileTransferSSH:: |
protected | function |
Removes a file. Overrides FileTransfer:: |