Hi all,
I was wondering if anyone might have an idea on how a LiveCode stack could be scripted to monitor a "hot folder". For anyone who might not know what a hot folder is, a hot folder is simply a folder on a computer that when a file is put into said folder, software that monitors said folder then does something with the file in said folder.
For my needs, files placed into the hot folder would accumulate until a certain time of day is reached (in this case, midnight) and then all the files within the hot folder are then copied to another folder on a different computer. Once complete, all the files in said folder are then deleted.
Could something like this be done?
Thank you,
Jon
Hot Folders
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Hot Folders
Hi Jon,
If yes, take action, if not, "send" again in X minutes.
Get the picture?
Best
Klaus
sure! I would just "send" a handler ervery X minutes and check if that folder has changed.Could something like this be done?
If yes, take action, if not, "send" again in X minutes.
Get the picture?
Best
Klaus
-
- VIP Livecode Opensource Backer
- Posts: 9663
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: Hot Folders
What Klaus said.
What Klaus didn't say was "read about the files function in the dictionary"
Craig
What Klaus didn't say was "read about the files function in the dictionary"
Craig