Johan M
May 18th, 1999, 07:47 AM
I have written two programs:
1) One program which creates files and saves them on another computer in the network.
2) One program which waits for files to be saved on the local HD ( typically "C:\" ) at a specified folder
( perhaps "work\jobs\" ).
The two programs runs on different computers in the local network. When a file is saved, it should be
processed by the second program.
Ofcourse this could be solved if the second program checked the folder contents at specified times with
a fixed time intervall. But this solution does not feel "efficient".
* Is it possible to wait for some kind of file events, which is fired if a file is saved to a HD?
I have not found any suggestions of this in the MSDN library.
* If this is not possible, is there an easy and efficient way the first program can "tell" the second program
that a file has been saved on the HD?
Thanks in advance,
Johan M
1) One program which creates files and saves them on another computer in the network.
2) One program which waits for files to be saved on the local HD ( typically "C:\" ) at a specified folder
( perhaps "work\jobs\" ).
The two programs runs on different computers in the local network. When a file is saved, it should be
processed by the second program.
Ofcourse this could be solved if the second program checked the folder contents at specified times with
a fixed time intervall. But this solution does not feel "efficient".
* Is it possible to wait for some kind of file events, which is fired if a file is saved to a HD?
I have not found any suggestions of this in the MSDN library.
* If this is not possible, is there an easy and efficient way the first program can "tell" the second program
that a file has been saved on the HD?
Thanks in advance,
Johan M