Example #1
0
        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);
        }
Example #2
0
        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);
        }
Example #3
0
        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);
            }
        }