public void Noop() { var sres = _client.BaseSend($"{FTPCommand.NOOP}"); if (sres.Code != ServerResponseCode.成功) { throw new Exception($"code:{sres.Code},reply:{sres.Reply}"); } }
public void Noop() { try { _client.BaseSend($"{FTPCommand.NOOP}"); } catch (Exception ex) { LogHelper.Error("FTPClient Noop", ex); } }