function FileTransferFTPExtension::isDirectory
Overrides FileTransfer::isDirectory
1 call to FileTransferFTPExtension::isDirectory()
- FileTransferFTPExtension::chmodJailed in includes/
filetransfer/ ftp.inc - Changes the permissions of the file / directory specified in $path
File
-
includes/
filetransfer/ ftp.inc, line 109
Class
Code
public function isDirectory($path) {
$result = FALSE;
$curr = ftp_pwd($this->connection);
if (@ftp_chdir($this->connection, $path)) {
$result = TRUE;
}
ftp_chdir($this->connection, $curr);
return $result;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.