final public function FileTransfer::copyDirectory in Drupal 7
Copies a directory.
Parameters
$source: The source path.
$destination: The destination path.
File
- includes/
filetransfer/ filetransfer.inc, line 76
Class
Code
public final function copyDirectory($source, $destination) {
$source = $this
->sanitizePath($source);
$destination = $this
->fixRemotePath($destination);
$this
->checkPath($destination);
$this
->copyDirectoryJailed($source, $destination);
}