Skip to main content
Question

directory watch: how does it work?

  • February 3, 2020
  • 3 replies
  • 238 views

vki
Contributor
Forum|alt.badge.img+7
  • Contributor
  • 64 replies

Just out of interest:

 

How does FME detect, that a directory has changed?

Does it store the information about the files in the directory at a given time in a file? So that when the directory watch is triggered it can compare the new informations of the files in the directory at that time to that file?

Or how else does it keep track?

Thanks, Vera

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.

3 replies

danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2077 replies
  • February 3, 2020

Hi @vki

I suggest you to wacht this interesting Video

 

Thanks in Advance,

Danilo


vki
Contributor
Forum|alt.badge.img+7
  • Author
  • Contributor
  • 64 replies
  • February 7, 2020

Thanks, Danilo, but my directory watch is working fine. I just wondered, how FME_Server knows, that something in the directory has changed...?


Forum|alt.badge.img+2
  • 719 replies
  • February 7, 2020

Hi @vki,

The Directory Watch protocol in FME Server monitors files based on their file size (see the note in the Documentation here).

For FME Server 2020 we have made improvements so that Directory Watch with also monitor the timestamp to ensure if there is a modify event and the file size remains the same the trigger is still sent.