function FileTransfer::copyFileJailed

Same name in other branches
  1. 9 core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::copyFileJailed()
  2. 8.9.x core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::copyFileJailed()
  3. 10 core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::copyFileJailed()
  4. 11.x core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::copyFileJailed()

Copies a file.

Parameters

$source: The source file.

$destination: The destination file.

1 call to FileTransfer::copyFileJailed()
FileTransfer::copyFile in includes/filetransfer/filetransfer.inc
Copies a file.
4 methods override FileTransfer::copyFileJailed()
FileTransferFTPExtension::copyFileJailed in includes/filetransfer/ftp.inc
Copies a file.
FileTransferLocal::copyFileJailed in includes/filetransfer/local.inc
Copies a file.
FileTransferSSH::copyFileJailed in includes/filetransfer/ssh.inc
Copies a file.
TestFileTransfer::copyFileJailed in modules/simpletest/tests/filetransfer.test
Copies a file.

File

includes/filetransfer/filetransfer.inc, line 254

Class

FileTransfer

Code

protected abstract function copyFileJailed($source, $destination);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.