file mask in .net

Advertisement

shay
Joined:
Posts:
2
Location:
israel

file mask in .net

hi,
i wanted to filter specific files like *.mdb how do i write the syntax
session.SynchronizeDirectories(SynchronizationMode.Local, "C:\projects\holon", "/holon/test/", False, True, SynchronizationCriteria.Time, TransferOptions = ("*.mdb"))

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
31,037
Location:
Prague, Czechia

Re: file mask in .net

Replace TransferOptions = ("*.mdb") with new TransferOptions { FileMask = "*.mdb" }

Reply with quote

Advertisement

You can post new topics in this forum