Hello all,
I'm wondering if anyone has a more elegant solution to a pretty simple problem... does anyone have any ideas how to continuously monitor a directory for new files? The only way I can think of right now would be to poll a directory, process the file, delete it, and then sleep for a bit and check the directory again.
I mean, it works, but I can't help the feeling there's a better way of doing this... any ideas?
Thanks in advance!