Smartwatcher和网络文件夹 [英] Smartwatcher and network folders

查看:73
本文介绍了Smartwatcher和网络文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

I am trying to use Tamma Koujan's SmartWatcher Service and can get it to work watching a local folder on the computer it is installed on, but I can't get it to fire when I try to watch a network UNC. Is there a best way to define the WatchFolder parameter to get a UNC to be recognized and working with FileSystemWatcher in this neat service application? 





我的尝试:



我尝试在SmartWatcherService.cs中创建映射驱动器,但无法识别该文件夹。我使用\\server name \watcherfolder \时没有出现安装错误,但是从未获取任何文件夹更改条件。



What I have tried:

I have tried creating a mapped drive in the SmartWatcherService.cs, but it fails to recognize the folder. I get no install errors when I use \\server name\watcherfolder\, but never get any folder change condition captured.

推荐答案

不发布这在快速答案下 - 如果您从文章中获得了代码,那么该文章底部会出现添加评论或问题按钮,这会导致将电子邮件发送给作者。然后他们会被告知你希望与他们交谈。

在这里发布这个依赖于他们匆匆而过并意识到这是为了他们。



我认为你的意思是这个:智能观察者 [ ^ ]
Don't post this under Quick Answers - if you got the code from an article, then there is a "Add a Comment or Question" button at the bottom of that article, which causes an email to be sent to the author. They are then alerted that you wish to speak to them.
Posting this here relies on them "dropping by" and realising it is for them.

I assume you mean this one: Smart Watcher[^]


这篇关于Smartwatcher和网络文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆