Session.CompareDirectories – No diffs found
Hi,
I'm using
The function return diffs only if the file not exists in remote. if the file changes (data or size) I can't see it in the diffs list.
My path are correct.
Appreciate any help.
I'm using
Session.CompareDirectories
to get list of all diffs between local path and remote path.
The function return diffs only if the file not exists in remote. if the file changes (data or size) I can't see it in the diffs list.
if (session.FileExists(remotePath2)) { compareDiffs = session.CompareDirectories( SynchronizationMode.Remote, projectSyncPath + "/", remotePath2, true, false, SynchronizationCriteria.Either); count += compareDiffs.Count; if (compareDiffs.Count > 0) SaveDiffPath(componentDirectoryName, compareDiffs); }
Appreciate any help.