Question
January 15, 2008 at 04:36 AM
dermot.beirne

Contents of unc path are not updating

by dermot.beirne . Updated 18 years, 7 months ago

Hi, a strange problem has started happening.
I have two servers running windows 2003. One has a shared folder (server A). The other one (Server B) has a program running on it, that reads a file on this shared folder periodically using it’s unc path.

I access both of the servers using rdp from my laptop when i need to check them.
Lately, when the file on server A’s share is updated, the version that Server B sees is not updated, so the UNC path contents are out of date. If i look at the same file (on Server A’s share) from my laptop using the Unc path, the version i see is also out of date.

To fix it, i need to rdp to Server A, and view the file in question, and then the contents of the unc path on both my laptop and Server B are up to date again.

To try and work around it, i have a little batch job running on Server B that does a simple:

copy “\\serverA\shared folder\shared file.txt” “c:\location” /Y
which runs successfully and tells me “1 file copied”. However, the copied file is also out of date!
I am going to run the job the opposite way around, and get Server A to copy the file to Server B. This is a fudge, and would prefer to find out why the contents are not updating when the file changes.

Thanks,
Dj.

This discussion is locked

All Comments