1 ftp.inc public FileTransferFTPExtension::isFile($path)

Checks if a particular path is a file (not a directory).

Parameters

$path: The path to check

Return value

boolean:

Overrides FileTransfer::isFile

File

core/includes/filetransfer/ftp.inc, line 119

Class

FileTransferFTPExtension

Code

public function isFile($path) {
  return ftp_size($this->connection, $path) != -1;
}