public AccountController() { IgnoreList = new IgnoreList(); FileLog = new FileLog(this); FolderWatcher = new FolderWatcher(this); WebInterface = new WebInterface(this); SyncQueue = new SyncQueue(this); TransferValidator = new SizeTransferValidator(this); }
public AccountController() { IgnoreList = new IgnoreList(); FileLog = new FileLog(this); FolderWatcher = new FolderWatcher(this); WebInterface = new WebInterface(this); SyncQueue = new SyncQueue(this); Client = new Client(this); }
public AccountController() { IgnoreList = new IgnoreList(); FileLog = new FileLog(this); FolderWatcher = new FolderWatcher(this); SyncQueue = new SyncQueue(this); if (this.Account.Protocol == FtpProtocol.SFTP) { Client = new SFTPClient(this); } else { Client = new FTPClient(this); } }