Implements Drupal\Core\FileTransfer\FileTransfer::removeFileJailed().
Overrides FileTransfer::removeFileJailed
protected function removeFileJailed($destination) {
if (!@ssh2_exec($this->connection, 'rm ' . escapeshellarg($destination))) {
throw new FileTransferException('Cannot remove @directory.', NULL, array(
'@directory' => $destination,
));
}
}