public function login($username = null, $password = null)
    {
        if (false === @$this->cd()) {
            if (true === @$this->mkdir()) {
                @$this->cd();
            } else {
                throw new Exception\AuthenticationException(sprintf('Unable to change dir to %s', $this->_remotepath));
            }
        }

        return $this;
    }