Posted: 2017-01-02 20:29
Hi guys. Thanks for this awesome library its helping a lot.
Im working with VS2015 c# and I have following code.
// Upload files
TransferOptions transferOptions = new TransferOptions();
transferOptions.TransferMode = tmde;
transferOptions.FileMask = jsonConfig.files_mask; // that will contain "*.jpg;|*/";
SynchronizationResult syncResult = session.SynchronizeDirectories(SynchronizationMode.Remote,
But sadly it works only with the last or only one file mask.
Is there any way to add more than one?
Thanks in advance.
Location: Prague, Czechia
I'm not sure I understand the question.
If you want more masks, just separate them with a semicolon, like
Posted: 2017-01-05 14:32
Thanks Martin, now I get it.
If anyone is interested, This make the trick to filter by file type and exclude sub folders:
*.jpg | */
transferOptions.FileMask = jsonConfig.files_mask + " | */";
You can post new topics in this forum
And it's free!