Re: Filemask not working on synchronize
Your mask is include mask, what basically means that it does not do anything, as the directories are included by default. To turn it to exclude mask, prepend it with pipe symbol:
See also https://winscp.net/eng/docs/file_mask
synchronize local W:\directory1 "Text Files" -filemask="|*/"
See also https://winscp.net/eng/docs/file_mask