michael1975
April 8th, 2001, 07:06 AM
Hei,
I want to monitor a Folder, that means if there is any new file is
stored here, i can automatically know precisely these new files name, but i
do not want know the by monitor detect the Directory disk size and then
compare all the files names way, because i donot want to maintain a files
list always. Does anybody knows is there any event can be detected when the
folder is added a new file?
My question is:
There is a directory named ImageFile,
and i want to write a program to monitor it always,
and if a file Image1 is added into ImageFile folder by anybody, i can know
it precisely and immediately, but i do not want to scan all the files in
this folder, because maybe there are a huge number of files.
Can i do it, and how?
Many thanks.
Michael.
Email: xiaosd1975@sina.com
a free codes guru
I want to monitor a Folder, that means if there is any new file is
stored here, i can automatically know precisely these new files name, but i
do not want know the by monitor detect the Directory disk size and then
compare all the files names way, because i donot want to maintain a files
list always. Does anybody knows is there any event can be detected when the
folder is added a new file?
My question is:
There is a directory named ImageFile,
and i want to write a program to monitor it always,
and if a file Image1 is added into ImageFile folder by anybody, i can know
it precisely and immediately, but i do not want to scan all the files in
this folder, because maybe there are a huge number of files.
Can i do it, and how?
Many thanks.
Michael.
Email: xiaosd1975@sina.com
a free codes guru