Re: file mask in .net
Create
https://winscp.net/eng/docs/library_transferoptions
https://winscp.net/eng/docs/library_session_synchronizedirectories
https://winscp.net/eng/docs/file_mask
Some example:
https://stackoverflow.com/q/20889844/850848#20898379
TransferOptions, set TransferOptions.FileMask and pass the TransferOptions object to options argument of Session.SynchronizeDirectories method.
https://winscp.net/eng/docs/library_transferoptions
https://winscp.net/eng/docs/library_session_synchronizedirectories
https://winscp.net/eng/docs/file_mask
Some example:
https://stackoverflow.com/q/20889844/850848#20898379