You are here

final public function FileTransfer::removeFile in Drupal 7

Removes a file.

Parameters

$destination: The destination file to be removed.

1 call to FileTransfer::removeFile()
FileTransferFTPExtension::removeDirectoryJailed in includes/filetransfer/ftp.inc
Removes a directory.

File

includes/filetransfer/filetransfer.inc, line 145

Class

FileTransfer

Code

public final function removeFile($destination) {
  $destination = $this
    ->fixRemotePath($destination);
  $this
    ->checkPath($destination);
  $this
    ->removeFileJailed($destination);
}