public Sftp(SftpOptions options, HttpValidationParameters pars) : base(options, pars) { _sshFtpClient = new SshFtpClient(_options.Credential.GetCredential(), pars.LogService); }
public override void CleanUp() { base.CleanUp(); // Switched setting this to null, since this class will be needed for deleting files and folder structure _sshFtpClient = null; }
public Sftp(ScheduledRenewal renewal, Target target, ILogService log, IInputService input, ProxyService proxy, string identifier) : base(log, input, proxy, renewal, target, identifier) { _sshFtpClient = new SshFtpClient(target.HttpFtpOptions.GetCredential(), log); }