Revision d21f3c77 trunk/Pithos.Core/Agents/NetworkAgent.cs

b/trunk/Pithos.Core/Agents/NetworkAgent.cs
409 409
                    return;
410 410
                }
411 411

  
412
                //If the local and remote files have 0 length their hashes will not match
413
                if (!cloudFile.IsDirectory && cloudFile.Bytes==0 && action.LocalFile is FileInfo && (action.LocalFile as FileInfo).Length==0 )
414
                {
415
                    Log.InfoFormat("Skipping {0}, files are empty", downloadPath);
416
                    return;
417
                }
418

  
412 419
                //The hashes DON'T match. We need to sync
413 420

  
414 421
                // If the previous tophash matches the local tophash, the file was only changed on the server. 

Also available in: Unified diff