Excluding subdirectories RRS feed

  • Question


    I have written a console app that will sync files between directories on 2 different servers. Specifically, I am running load-balanced web servers and I need to make sure the files are the same on both. There are several subdirectories I would like to not include in the sync. I have tried using the wildcard (*) in the FileSyncScopeFIlter.SubdirectoryExcludes.Add method. An error is generated at runtime. Any ideas?
    • Moved by Max Wang_1983 Thursday, April 21, 2011 10:09 PM forum consolidation (From:SyncFx - Technical Discussion [ReadOnly])
    Monday, December 17, 2007 10:14 PM

All replies