private void CheckStatus() { if (_closed || _eventHandler.ChannelStatus != SFTPChannelStatus.READY) throw new SFTPClientInvalidStatusException(); }