1 filetransfer.inc final public FileTransfer::copyDirectory($source, $destination)

Copies a directory.

Parameters

$source: The source path.

$destination: The destination path.

File

core/includes/filetransfer/filetransfer.inc, line 190
Base FileTransfer class.

Class

FileTransfer
@file Base FileTransfer class.

Code

final public function copyDirectory($source, $destination) {
  $source = $this->sanitizePath($source);
  $destination = $this->fixRemotePath($destination);
  $this->checkPath($destination);
  $this->copyDirectoryJailed($source, $destination);
}