Solved

FME server directory watch - can publication exclude some file extensions?

  • 12 November 2018
  • 4 replies
  • 0 views

Badge +4

I set up a directory watch in FME server to watch changed shape files in a directory. Since each shape file has 7 components, updating one shape file will trigger 7 notifications, causing the subscribing workspace to run 7 times. I would hope the directory watch publication has an option to watch only ".shp" files so that each shape file change only triggers one notification. Any work around about this?

icon

Best answer by david_r 12 November 2018, 19:00

View original

4 replies

Userlevel 4

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

Badge +2

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.html to analyse the JSON message for the correct file type first.

Badge +4

@david_r and @hollyatsafe, I voted for both. For most cases file extension should be sufficient, but a wild card could be very useful.

Userlevel 4

@david_r and @hollyatsafe, I voted for both. For most cases file extension should be sufficient, but a wild card could be very useful.

Thanks for giving your vote. I share your opinion.

Reply