Import multiple xml files
We have a system that just drops xml files into a folder. The files are named jobnumber1.xml jobnumber2.xml and so on. What I would like to do is run a script in a loop that is looking at this folder and when it sees a file, or every 60 seconds it looks for a file it then imports the xml file into the filemaker solution. I can import the xml no problem. but the automation is my problem as I have to manually choose or name the file when the script is run. I don't even mind if I have to clear out old files from my import folder. but what i really want is something that just keeps watching the folder. and importing.
Thanks in advance