Back to FtpClient class

Method isConnected

public bool
isConnected
()
Method to determine if the object is connected to an FTP server
Returns
  • bool True if connected
Since
  • 1.5
Class: FtpClient
Project: Joomla

Method isConnected - Source code

/**
 * Method to determine if the object is connected to an FTP server
 *
 * @return  boolean  True if connected
 *
 * @since   1.5
 */
public function isConnected()
{
    return \is_resource($this->_conn);
}