FileSystemWatcher Fails to access network drive

后端 未结 7 2230
春和景丽
春和景丽 2020-11-27 23:12

I am trying to run a file watcher over some server path using windows service. I am using my windows login credential to run the service, and am able to access this \"someSe

相关标签:
7条回答
  • 2020-11-27 23:46

    although you can use a FileWatcher over the network, you will have to account for other factors, like disconnection of the network share. If your connection to the share is terminated (maintenance, lag, equipment reset, etc) you will no longer have a valid handle on the share in your filewatcher

    0 讨论(0)
提交回复
热议问题