473,480 Members | 1,852 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Path headaches with the FileSystemWatcher

Hello all.

I've created a FileSystemWatcher that is to reside on
Server A and monitor the activity of folder on Server B.

The application works fine with watcher.path set to C:\.
However, when I specify any other drive for the
watcher.path, I receive an error message telling me the
selected path is invalid.

On my local machine Server B is mapped as W:\. I've tried
using the physical path as in watcher.path = "W:\RFTest",
as well as attempting to use the URL. All attempts result
in the same tired error message.

Any assistance will be greatly appreciated.

Thanks!

Brian
Jul 21 '05 #1
0 1538

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2436
by: A.S. | last post by:
When i use FileSystemWatcher to monitor a local directory on my machine ,it works fine.But I need to monitor a file on a different server.So i set FileSystemWatcher1.path="\\server1\App\Data" ...
4
3007
by: eyal | last post by:
Hi, I need to detect changes on several directory at the same time. for example: D:\temp c:\docs and so on. the problem is that this component have 1 'Path' in it's attribute. how can i solve...
10
2996
by: Jeff Grantham | last post by:
I have the code below and it does what i want except for one thing and I can't for the life of me figure it out. It makes multiple copies of the entries in the Event Log and sends multiple emails....
2
1461
by: Mike Johnson | last post by:
I have a Form named Form1 which I added a FileSystemWatcher component, I need to change the Path property on this component. I've read the Article Working with forms which I got from this News...
0
269
by: Brian | last post by:
Hello all. I've created a FileSystemWatcher that is to reside on Server A and monitor the activity of folder on Server B. The application works fine with watcher.path set to C:\. However,...
1
1790
by: Fredrik Johansson | last post by:
Hello, I have built a .NET remoting solution (SingleCall) that writes a file to disk, then waits for a second file in a specified folder (using the FileSystemWatcher.WaitForChanged method). When...
1
2205
by: greg_slavin | last post by:
I'm attempting to use the FileSystemWatcher class to monitor a folder on a remote server. My app is running as a Windows service, currently on an XP machine, but it will be on Server 2003 in...
3
6971
by: pantagruel | last post by:
Hi, the following: FileSystemWatcher watcher = new FileSystemWatcher(); RenderingQ = ConfigurationSettings.AppSettings; //RenderingQ = "C:\\RenditionServerQ\\InjectorQ\\OnDemandQ";...
2
2592
by: zu1u | last post by:
Hi guys, i'd like to use FileSystemWatcher to monitor all FileSystem Events on all my hard drives. Now i tried "/", "\\" or "\\.\" and similar as paths.. but I only receive events from my C:\ drive....
0
7049
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
1
6744
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
6981
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4790
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4488
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3000
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2989
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1304
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
188
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.