You could keep a list of files that have been processed.
When a new file appears, process that new one.
Adjust your list of processed files as each new one comes in.
There can be some issues with this, please explain your application more.
In reply to Re: make infinite loop for live directory
by Marshall
in thread make infinite loop for live directory
by GHMON
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |