Пример #1
0
 public FtpUser(string login, string password, FileServer server)
     : base(login, password, server)
 {
     DownloadBehavior = new FtpDownloadBehavior();
     UploadBehavior = new FtpUploadBehavior();
     DeleteBehavior = new FtpDeleteBehavior();
     DirectoryBehavior = new FtpDirectoryBehavior(server, login, password);
 }
 public FtpDirectoryBehavior(FileServer server, string userLogin, string userPassword)
 {
     _server = server;
     _userLogin = userLogin;
     _userPassword = userPassword;
 }
Пример #3
0
 protected FileServerUser(string login, string password, FileServer server)
 {
     this.login = login;
     this.password = password;
     this.server = server;
 }
Пример #4
0
 public HttpUser(string login, string password, FileServer server)
     : base(login, password, server)
 {
 }