Ejemplo n.º 1
0
 public FtpFileStore(string fileStoreName, FtpFileStoreConfig config)
 {
     _fileStoreName = fileStoreName;
     _config        = config;
     _client        = new CoreFtp.FtpClient(new FtpClientConfiguration
     {
         Host     = config.HostName,
         Username = config.Username,
         Password = config.Password
     });
     _client.LoginAsync().Wait();
 }
Ejemplo n.º 2
0
 public FtpFileStore(string fileStoreName, FtpFileStoreConfig config)
 {
     _fileStoreName = fileStoreName;
     _config        = config;
 }