function FileTransfer::removeFileJailed

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

Removes a file.

Parameters

$destination: The destination file to be removed.

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

File

includes/filetransfer/filetransfer.inc, line 262

Class

FileTransfer

Code

protected abstract function removeFileJailed($destination);

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