def lstat(self, path):
path = self._adjust_cwd(path)<EOL>self._log(DEBUG, '<STR_LIT>' % 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 L{stat}.

@param path: the filename to stat
@type path: str
@return: an object containing attributes about the given file
@rtype: SFTPAttributes