Ejemplo n.º 1
0
 public Sftp(SftpOptions options, HttpValidationParameters pars) : base(options, pars)
 {
     _sshFtpClient = new SshFtpClient(_options.Credential.GetCredential(), pars.LogService);
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
0
 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);
 }