public function login($username, $password)
    {
        // @ - intentionally, because false is enough
        if (@ftp_login($this->stream, $username, $password)) {
            $this->loggedIn = true;
            return true;
        } else {
            return false;
        }
    }