src/Net/FTP/Connection.php
public function login( $username, $password )
	{
		$this->checkConnection( TRUE, FALSE );
		if( !@ftp_login( $this->resource, $username, $password ) )
			return FALSE;
		$this->auth	= TRUE;
		return TRUE;
	}
public function login( $username, $password )
	{
		$this->checkConnection( TRUE, FALSE );
		if( !@ftp_login( $this->resource, $username, $password ) )
			return FALSE;
		$this->auth	= TRUE;
		return TRUE;
	}
public function login ( $ username , $ password ) { $ this -> checkConnection ( TRUE , FALSE ) ; if ( ! @ ftp_login ( $ this -> resource , $ username , $ password ) ) return FALSE ; $ this -> auth = TRUE ; return TRUE ; }
Authenticates FTP Connection.
@access		public
@param		string		$username		Username
@param		string		$password		Password
@return		boolean
Authenticates FTP Connection .