Question

directory watch: how does it work?

  • 3 February 2020
  • 3 replies
  • 31 views

Badge +6
  • Contributor
  • 53 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


3 replies

Userlevel 4
Badge +30

Hi @vki

I suggest you to wacht this interesting Video

 

Thanks in Advance,

Danilo

Badge +6

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

Badge +2

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.

Reply