Is there a crossplatform class on board like the “inotify” for linux?
Or how to manage a webapp to reload the webpage (webpage.show) only on a filechange?
If possible i dont want to establish a service and dont force the webpage reload from outer.
what file changed?
your web app can monitor a folder on a server and see if something changes and only cause a GUI event for the webpages if something changed.
for Windows you can use our plugin class:
And for Mac FSEvents:
I have been using FSEventsMBS to detect file changes.
I note that I can get it to work on the following server type services:
but not on the following servers:
airport USB drive
Is there something I need to add to get it to work on the latter server types - or is there something that defines what types of volume it will work on?
The plugin only provides FSEvents for FileSystems who provide them.
the first three are just local folders. The other three are real network drives, so there it may not work.
I am currently looking into making our freeware WhistleBlower project ( https://thebrainbasket.com/?p=614 ) compatible with CentOS 7, so it can run on FileMaker Cloud servers. For macOS and Windows I am already using the excellent plug-in classes from Christian, but now I am confronted with the raw system calls. I would like to use the inotify kernel subsystem, but this is all rather intimidating. Any help you guys can offer is greatly appreciated.
What is your question, exactly? macOS FSEvents, for instance, just calls you back about changed folders. That’s pretty high-level, I’d say. You’ll then have to look into that folder and see which files of your interest have changed since you last looked there.
[quote=216709:@James Pitchford]I have been using FSEventsMBS to detect file changes.
I note that I can get it to work but not on the following servers:
airport USB drive
I stumbled upon this topic while searching for folder changes notifications and saw the reply above. So it’s possible to build Xojo applications for NAS devices?
More than interested in knowing how that works!