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; }
protected FileServerUser(string login, string password, FileServer server) { this.login = login; this.password = password; this.server = server; }
public HttpUser(string login, string password, FileServer server) : base(login, password, server) { }