I need to write a simple windows service program to react each time a file is added to a folder. My research indicates the FileSystemWatcher is the tool to use within a VB.Net Service program.
I do however haver a question.
How will a FileSystemWatcher service program react when two files are added to the folder at about the same time?.
Consider the first is a very large file and the second is a very small file added a milisecond later. The first large file will start to be pocessed and will still be in pogress when the second small file arrives. Will the service process both files at the same time or will it process the big one first and then process the little one. Could the second little file vene not be picked up at all because the first one takes up the service program's attention for so long?
Dazed and confused.
Remember.. 'Depression is just anger without enthusiasum'.
I do however haver a question.
How will a FileSystemWatcher service program react when two files are added to the folder at about the same time?.
Consider the first is a very large file and the second is a very small file added a milisecond later. The first large file will start to be pocessed and will still be in pogress when the second small file arrives. Will the service process both files at the same time or will it process the big one first and then process the little one. Could the second little file vene not be picked up at all because the first one takes up the service program's attention for so long?
Dazed and confused.
Remember.. 'Depression is just anger without enthusiasum'.