Revision 79736291 trunk/Pithos.Core/PithosMonitor.cs

b/trunk/Pithos.Core/PithosMonitor.cs
101 101
        private void EnsurePithosContainers()
102 102
        {
103 103
            CloudClient.UsePithos = this.UsePithos;
104
            CloudClient.AuthenticationUrl = this.AuthenticationUrl;
104 105
            CloudClient.Authenticate(UserName, ApiKey);
105 106

  
106 107
            var pithosContainers = new[] {PithosContainer, TrashContainer};
......
111 112
            }
112 113
        }
113 114

  
115
        public string AuthenticationUrl { get; set; }
116

  
114 117
        private Uri ProxyFromSettings()
115 118
        {            
116 119
            if (Settings.UseManualProxy)
......
224 227
            try
225 228
            {
226 229
                CloudClient.UsePithos = this.UsePithos;
230
                CloudClient.AuthenticationUrl = this.AuthenticationUrl;
227 231
                CloudClient.Authenticate(UserName, ApiKey);
228 232

  
229 233
                StartListening(RootPath);
......
493 497
        {
494 498
            if (state.Skip)
495 499
                return state;
496
            string path = state.Path;
500
            string path = state.Path.ToLower();            
497 501
            string fileName = Path.GetFileName(path);
498 502

  
503
            //Bypass deleted files, unless the status is Deleted
504
            if (!(File.Exists(path) || state.Status == FileStatus.Deleted))
505
            {
506
                state.Skip = true;
507
                this.StatusKeeper.RemoveFileOverlayStatus(path);
508
                return state;
509
            }
510

  
499 511
            switch(state.Status)
500 512
            {
501 513
                case FileStatus.Created:

Also available in: Unified diff