stat method
Implementation
Future<SftpFileAttrs> stat() async {
_mustNotBeClosed();
final reply = await _client._sendFStat(_handle);
if (reply is SftpAttrsPacket) return reply.attrs;
if (reply is! SftpStatusPacket) throw SftpError('Unexpected reply');
throw SftpStatusError.fromStatus(reply);
}