Re: SynchronizationMode Local with FileMask
The
https://winscp.net/eng/docs/library_session_synchronizedirectories
You either need to specific 5th and 6th arguments:
or use a named argument:
TransferOptions
are 7th argument of Session.SynchronizeDirectories
, not 5th.
https://winscp.net/eng/docs/library_session_synchronizedirectories
You either need to specific 5th and 6th arguments:
session.SynchronizeDirectories(
SynchronizationMode.Local, @"C:\temp", "/folder1", false,
false, SynchronizationCriteria.Time, transOp);
or use a named argument:
session.SynchronizeDirectories(
SynchronizationMode.Local, @"C:\temp", "/folder1", false,
options = transOp);