Realtimesync does not detect changes on Samba share

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

Post by Peter • 14 May 2019, 22:57

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
Zenju
Site Admin
Posts: 4955
Joined: 9 Dec 2007

Post by Zenju • 10 Jun 2019, 15:59

Zenju wrote:
15 Apr 2019, 13:38
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?).
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...

Peter
Posts: 2
Joined: 14 May 2019

Post by Peter • 10 Jun 2019, 16:11

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....