I am using the FileSyncProvider to synchronize two remote files through WCF. When the synchronize runs, I pass a serializable IFileDataRetriever to the remote server for the source. The AbsoluteSourceFilePath property throws a NotImplementedException
and the FileStream property contains the data in the file. During the synchronize, I get the ApplyingChange event for my file (change type = update), but then I get the SkippedChange event with the exception being the NotImplementedException from the IFileDataRetriever
and the reason is WriteError.
Once I get the ApplyingChange event I put a breakpoint on the AbsoluteSourceFilePath property and FileStream property of my FileDataRetriever. I see that after it tries to get the AbsoluteSourceFilePath it then tries to get the FileStream, which is
successful but the next thing is the SkippedChange event. If the AbsoluteSourceFilePath is required, how can I set it for a remote file that is not accessible?