@david_r and@hollyatsafe, I voted for both.For most cases file extension should be sufficient, but a wild card could be very useful.
Hi@ag,
It is not currently possible to specify a single file type to watch, please consider upvoting this idea:https://knowledge.safe.com/content/idea/81501/add-file-type-filtering-on-directory-watch-in-fme.html.
To avoid your current predicament can I suggest reviewing Davids answer on this post:https://knowledge.safe.com/questions/21091/directory-watch-file-types.htmlto analyse the JSON message for the correct file type first.
This is a known limitation, I'm not aware of any easy way to circumvent this short of asking the users to zip their files before placing them in the watched folder.
There are at least two ideas for improvements, please consider voting:
https://knowledge.safe.com/content/idea/81501/add-file-type-filtering-on-directory-watch-in-fme.html
https://knowledge.safe.com/content/idea/39299/regexp-support-on-fme-server-directory-watcher.html