1 ftp.inc | protected FileTransferFTPExtension::createDirectoryJailed($directory) |
Creates a directory.
Parameters
$directory: The directory to be created.
Overrides FileTransfer::createDirectoryJailed
File
- core/
includes/ filetransfer/ ftp.inc, line 70
Class
Code
protected function createDirectoryJailed($directory) {
if (!ftp_mkdir($this->connection, $directory)) {
throw new FileTransferException("Cannot create directory @directory", NULL, array("@directory" => $directory));
}
}