function FileTransfer::copyFileJailed
Same name in other branches
- 7.x includes/filetransfer/filetransfer.inc \FileTransfer::copyFileJailed()
- 8.9.x core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::copyFileJailed()
- 10 core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::copyFileJailed()
- 11.x core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::copyFileJailed()
Copies a file.
Parameters
string $source: The source file.
string $destination: The destination file.
1 call to FileTransfer::copyFileJailed()
- FileTransfer::copyFile in core/
lib/ Drupal/ Core/ FileTransfer/ FileTransfer.php - Copies a file.
4 methods override FileTransfer::copyFileJailed()
- FTPExtension::copyFileJailed in core/
lib/ Drupal/ Core/ FileTransfer/ FTPExtension.php - Copies a file.
- Local::copyFileJailed in core/
lib/ Drupal/ Core/ FileTransfer/ Local.php - Copies a file.
- SSH::copyFileJailed in core/
lib/ Drupal/ Core/ FileTransfer/ SSH.php - Copies a file.
- TestFileTransfer::copyFileJailed in core/
modules/ system/ tests/ src/ Functional/ FileTransfer/ TestFileTransfer.php - Copies a file.
File
-
core/
lib/ Drupal/ Core/ FileTransfer/ FileTransfer.php, line 371
Class
- FileTransfer
- Defines the base FileTransfer class.
Namespace
Drupal\Core\FileTransferCode
protected abstract function copyFileJailed($source, $destination);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.