Sure you can... you will need to interact with the OS using OS-level tools, or use a plugin for this. The main thing is however if you want to do the monitoring from inside FM, your FM solution will be in a loop doing just that. So you wouldn't be able to use FM on the machine that does this. Unless you do it on an on-idle timer event (which then would not run if you are actively working in the solution). FM does not have the concept of a background thread that you can use while you are doing something else.
So a better solution would be to use only OS-level tools and scripts to do the monitoring in the background and have those call a FM script whenever they find something. Also not ideal though if you want to run this on a workstation that is otherwise used.
So you're looking at using a robot workstation, or at running this on the FileMaker Server.
As Wim suggests above - we do this using Robot Workstations running the 'Install OnTimer Script' to run a script every 60 seconds (or as often as you need).
Then we use the Dacon's FileFire Advanced plugin, which is a very useful plugin that we use to monitor files, and do all sorts of other things with files.
Thanks Wim and Ben.
I'll try to find out aboutRobot Workstationsa and the plug in Ben identified...
One other thing, can FM work directly as a client with WSDL services?
Thanks again, Paul
Retrieving data ...