Skip to main content
Solved

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

  • November 12, 2018
  • 4 replies
  • 22 views

aguan
Supporter
Forum|alt.badge.img+11
  • Supporter
  • 140 replies

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?

Best answer by david_r

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

david_r
Celebrity
  • 8394 replies
  • Best Answer
  • November 12, 2018

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


Forum|alt.badge.img+2
  • 719 replies
  • November 12, 2018

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.


aguan
Supporter
Forum|alt.badge.img+11
  • Author
  • Supporter
  • 140 replies
  • November 12, 2018

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


david_r
Celebrity
  • 8394 replies
  • November 12, 2018

@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.