Skip to main content
Solved

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

  • November 12, 2018
  • 4 replies
  • 10 views

aguan
Contributor
Forum|alt.badge.img+11
  • Contributor

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

View original
Did this help you find an answer to your question?

4 replies

david_r
Celebrity
  • 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

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
Contributor
Forum|alt.badge.img+11
  • Author
  • Contributor
  • 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
  • November 12, 2018
aguan wrote:

@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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings