def stat(self):
t, msg = self.sftp._request(CMD_FSTAT, self.handle)<EOL>if t != CMD_ATTRS:<EOL><INDENT>raise SFTPError("<STR_LIT>")<EOL><DEDENT>return SFTPAttributes._from_msg(msg)<EOL>
Retrieve information about this file from the remote system.  This is
exactly like `.SFTPClient.stat`, except that it operates on an
already-open file.

:returns:
    an `.SFTPAttributes` object containing attributes about this file.