def lstat(self, path):
path = self._adjust_cwd(path)<EOL>self._log(DEBUG, "<STR_LIT>".format(path))<EOL>t, msg = self._request(CMD_LSTAT, path)<EOL>if t != CMD_ATTRS:<EOL><INDENT>raise SFTPError("<STR_LIT>")<EOL><DEDENT>return SFTPAttributes._from_msg(msg)<EOL>
Retrieve information about a file on the remote system, without
following symbolic links (shortcuts).  This otherwise behaves exactly
the same as `stat`.

:param str path: the filename to stat
:return:
    an `.SFTPAttributes` object containing attributes about the given
    file