S
sreenivasan alakappan
Hello,
I need some help to do this following requirement.
I need to serach for *.txt files from a particular windows directory,
read the contents of the file. After doing so, then I need to delete
this file and wait until anohter *.txt file is written into this
directory by somebody else.
So, the core requirement is whenever there is a *.txt, i need to read
and process the file after which i need to delete to avoid processing
it again. I think I need to use threads in this and polling. But, I am
not very sure. Any siggestions will be useful.
Thanks,
Sreeni.
I need some help to do this following requirement.
I need to serach for *.txt files from a particular windows directory,
read the contents of the file. After doing so, then I need to delete
this file and wait until anohter *.txt file is written into this
directory by somebody else.
So, the core requirement is whenever there is a *.txt, i need to read
and process the file after which i need to delete to avoid processing
it again. I think I need to use threads in this and polling. But, I am
not very sure. Any siggestions will be useful.
Thanks,
Sreeni.