src/Net/FTP/Connection.php
public function checkConnection( $checkResource = TRUE, $checkAuthentication = TRUE )
	{
		if( $checkResource && !$this->resource )
			throw new RuntimeException( "No Connection to FTP Server established" );
		if( $checkAuthentication && !$this->auth )
			throw new RuntimeException( "Not authenticated onto FTP Server" );
	}
public function checkConnection( $checkResource = TRUE, $checkAuthentication = TRUE )
	{
		if( $checkResource && !$this->resource )
			throw new RuntimeException( "No Connection to FTP Server established" );
		if( $checkAuthentication && !$this->auth )
			throw new RuntimeException( "Not authenticated onto FTP Server" );
	}
public function checkConnection ( $ checkResource = TRUE , $ checkAuthentication = TRUE ) { if ( $ checkResource && ! $ this -> resource ) throw new RuntimeException ( "No Connection to FTP Server established" ) ; if ( $ checkAuthentication && ! $ this -> auth ) throw new RuntimeException ( "Not authenticated onto FTP Server" ) ; }
Indicated State of Connection and Authentification.
@access		public
@param		boolean		$checkResource			Flag: Check Connection
@param		boolean		$checkAuthentication	Flag: Check Authentification
@return		void
Indicated State of Connection and Authentification .