Realtimesync does not detect changes on Samba share

Get help for specific problems
Posts: 2
Joined: 14 May 2019

Peter

Realtimesync.exe ( latest version 12.5.2019, running on Windows 10) seems not to detect any changes in a single file on a samba share.

Realtimesync is triggered when a new file is created on the samba share, but not when the file content changes.

Explorer shows the new file date and size, but realtimesync does not detect anything.

Edit: to exclude problems on the Samba side, I opened a file in the watched folder with Notepad++. As soon as there is a change on the Samba side, Notepad++ asks for detected changes in the file. So it must be something with realtimesync.exe.

Any solution to fix this ?
User avatar
Site Admin
Posts: 7048
Joined: 9 Dec 2007

Zenju

RTS just calls ReadDirectoryChangesW with bWatchSubtree set to "true". If this is not working, I'd have to pass the blame on to the network drivers (maybe they're not implementing SMB 3.0 but an earlier version?). Zenju, 15 Apr 2019, 13:38
RealTimeSync watches for a couple of events, including FILE_NOTIFY_CHANGE_LAST_WRITE, so this should work, except for bugs outside of RTS's control...
Posts: 2
Joined: 14 May 2019

Peter

What is funny - same Samba-Host, same Share, same Windows client using Notepad++ on the same triggerfile used for RealTimeSync.exe - Notepadd++ detects any changes in the file immediately !

Wouldn´t it be an option to use a single file as trigger for RealTimeSync.exe ?

If changes detected in this file, FFS starts over....