(fileStream, fileName); //上传文件 var stpFile = client.Get(fileName); if (stpFile.IsRegularFile) { isSuccess = true; } client.Disconnect(); } } catch (Exception ex) { AppUtility.Engine.LogWriter.Write($"联贷平台SFTP上传{remotePath}/{fileName}文件错误{ex.ToString()}...