473,394 Members | 1,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Watched folder with linux shares

Watched folders (in vb.net) apparently do not function when "watching" a
shared drive that is a linux/samba drive. Does anyone know of anything
to alter in samba to get the linux box to "notify" the windows clients
of updates to directories? Windows folders never update correctly when
files on the linux server are changed, which I'm guessing is a related
issue.
TIA.
--
================================================== ================
Sam J. Marrocco
Sr. Visual Effects Artist/R&D
Travelling Pictures/GTN
Inferno, Flame, Houdini, Maya, All that cool stuff!
"The fact that no one understands you doesn't make you an artist."
================================================== ================

Nov 20 '05 #1
4 1270
Hello,

"Sam Marrocco" <sS****************@gtninc.com> schrieb:
Watched folders (in vb.net) apparently do not function
when "watching" a shared drive that is a linux/samba drive.
Does anyone know of anything to alter in samba to get the
linux box to "notify" the windows clients of updates to
directories? Windows folders never update correctly when
files on the linux server are changed, which I'm guessing is
a related issue.


Did you already post the question in a Linux ng?

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #2
>Did you already post the question in a Linux ng?

--
Herfried K. Wagner


Yes, more than once, and I've never received a response
that solved the issue. This has been a long-standing issue
that I've yet to resolve.
Nov 20 '05 #3
Cor
Sam,
I never heard of it, but why not build something yourself.
A thread with a wait, and a directeryinfo every 20 seconds that trows an
event when there are changes,
that cannot be that hard to build I expect?
(If the directeryinfo on the Linux share works correct of course, I don't
know I have zero Linux expirience)
Just a thought
Cor
Nov 20 '05 #4


Cor wrote:
Sam,
I never heard of it, but why not build something yourself.
A thread with a wait, and a directeryinfo every 20 seconds that trows an
event when there are changes,
that cannot be that hard to build I expect?
(If the directeryinfo on the Linux share works correct of course, I don't
know I have zero Linux expirience)
Just a thought
Cor

I suppose the point here is to *avoid* having to scan the
directory....something I've done whenever using a linux server, but
would like to avoid. The WatchFolder class in .net is extremely useful,
so I'd like to use it, but it won't work because of this linux/samba issue.

--
================================================== ================
Sam J. Marrocco
Sr. Visual Effects Artist/R&D
Travelling Pictures/GTN
Inferno, Flame, Houdini, Maya, All that cool stuff!
"The fact that no one understands you doesn't make you an artist."
================================================== ================

Nov 20 '05 #5

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

Similar topics

3
by: muralidharan | last post by:
Hi guys, I tried creating an application and it worked fine in the localhost. I uploaded the same into the web in a remote folder. The select or edit query in the application works fine. Whenever...
7
by: Dan V. | last post by:
Situation: I have to connect with my Windows 2000 server using VS.NET 2003 and C# and connect to a remote Linux server at another company's office and query their XML file. Their file may be...
0
by: Michael Hauer | last post by:
Hi, First my system(s): We want to migrate one server from NT 4.0 to Linux (small company). Clients are NT + XP. The application is .NET 1.0 and all clients run 1.0 SP3. A network drive...
0
by: amit | last post by:
Hi. I need two regular expressions that will work in .Net The first one is for valid unc paths to file shares.. server,share,folder names can be any vailid windows name so these are valid...
57
by: B.r.a.d.l.e.y | last post by:
A client has moved a back-end data file to a Linux machine instead of Windows. It now will only let one user log in at a time and gives some sort of "admin file not found" error. My first...
3
by: trialproduct2004 | last post by:
hi all i have one problem in windows service. i have code as following:- DirectoryInfo di = new DirectoryInfo(szfolder); if(di.Exists==true) eventLog1.WriteEntry("exist"); else
1
by: Itay | last post by:
Hi All , Is there a way to determine whether a folder is being shared with c# ? Thanks , Itay.
0
by: NoWhereMan | last post by:
Hello, I'm trying to get the list of shared folders of a network computer and add them to a combo box. I'm using the bellow code in VB .NET. Code ==== Private Sub EnumShares(ByVal Machine As...
5
by: Noozer | last post by:
I'm looking for a "smart folder" program to run on my Windows XP machine. I'm not having any luck finding it and think the logic behind the program is pretty simple, but I'm not sure how I'd...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.