I'am trying to write code to detect if a workstation on a network, can detect if a
drive on our network is still connected and has not been disconnected
due to a lose connection etc. Then I need some way of allowing my
program to access that drive once the connection has been reconnected.
eg. If I have a program which is writing data to a network drive g: for
example and the connection is lost e.g. when I the drive g: server goes down. I need to be able to detect this
problem and write my data to a secondary location. Then I would like to
be able to check if g: is back on line and then rewrite my data back to
Does anybody have any code or suggestion.
Thanks in advance.