The local connection class for copying files as the httpd user.
Hierarchy
- class FileTransfer
- class FileTransferLocal implements FileTransferChmodInterface
Expanded class hierarchy of FileTransferLocal
File
- core/
includes/ filetransfer/ local.inc, line 6
Members
Name | Modifiers | Type | Description |
---|---|---|---|
FileTransfer:: |
function | Changes backslashes to slashes, also removes a trailing slash. | |
FileTransferLocal:: |
public | function |
Changes the permissions of the file / directory specified in $path Overrides FileTransferChmodInterface:: |
FileTransfer:: |
final public | function | Changes the permissions of the specified $path (file or directory). |
FileTransferLocal:: |
public | function |
Checks if a particular path is a directory Overrides FileTransfer:: |
FileTransferLocal:: |
public | function |
Checks if a particular path is a file (not a directory). Overrides FileTransfer:: |
FileTransfer:: |
protected final | function | Checks that the path is inside the jail and throws an exception if not. |
FileTransferLocal:: |
static | function |
Classes that extend this class must override the factory() static method. Overrides FileTransfer:: |
FileTransferLocal:: |
public | function |
Connects to the server. Overrides FileTransfer:: |
FileTransfer:: |
final public | function | Copies a directory. |
FileTransfer:: |
protected | function | Copies a directory. |
FileTransferLocal:: |
protected | function |
Copies a file. Overrides FileTransfer:: |
FileTransfer:: |
public final | function | Copies a file. |
FileTransferLocal:: |
protected | function |
Creates a directory. Overrides FileTransfer:: |
FileTransfer:: |
public final | function | Creates a directory. |
FileTransfer:: |
protected | property | Full path to directory where file-transfer is restricted to. |
FileTransfer:: |
function | Implementation of the magic __get() method. | |
FileTransfer:: |
public | function | Implementation of the magic __isset() method. |
FileTransfer:: |
public | function | Implementation of the magic __set() method. |
FileTransfer:: |
public | function | Implementation of the magic __unset() method. |
FileTransfer:: |
private | property | Path to connection chroot. |
FileTransferLocal:: |
protected | function |
Removes a directory. Overrides FileTransfer:: |
FileTransfer:: |
public final | function | Removes a directory. |
FileTransferLocal:: |
protected | function |
Removes a file. Overrides FileTransfer:: |
FileTransfer:: |
public final | function | Removes a file. |
FileTransfer:: |
public | function | Returns a form to collect connection settings credentials. |
FileTransfer:: |
protected final | function | Returns a modified path suitable for passing to the server. |
FileTransfer:: |
function | Returns the chroot property for this connection. | |
FileTransfer:: |
function | Sets the chroot and changes the jail to match the correct path scheme | |
FileTransfer:: |
function | The constructor for the FileTransfer class. | |
FileTransfer:: |
protected | property | The hostname for this file transfer. |
FileTransfer:: |
private | property | The instantiated connection object. |
FileTransfer:: |
protected | property | The password for this file transfer. |
FileTransfer:: |
protected | property | The port for this file transfer. |
FileTransfer:: |
protected | property | The username for this file transfer. |