Some challenges

Get help for specific problems
Posts: 1
Joined: 15 May 2011

fritz007

Hello,

I would like to do something special. So the basic idea is that I want to use
the Realtimesync to automatically sync files between 2 computers over the
network.

So Realtimesync should only start if
- The computer is connected to the wireless network "Lapeste2"
- The computer with name "Fritz-PC" is available (as in is active, and can be used)

The Realtimesync should NOT start if those conditions aren't met. So this
means that I need some sort of on off switching of the service. Also I don't
want any user interaction unless there is some sort of problem.

Can anyone help me with this? I know how to make a service out of the
Realtimesync and how to set up the sync and so on, but how to check for the 2
conditions I really dont know ^^

Thanks alot!
User avatar
Site Admin
Posts: 7211
Joined: 9 Dec 2007

Zenju

One solution is to simply leave RTS running all the time, e.g. on the PC
that's always active. RTS will do it's work only if the network drives that
are to be synced are available, so having it run in the background shouldn't
hurt.
Posts: 9
Joined: 22 Dec 2016

milenke

I also try to use my Fritz-nas to save my files. I get the error 1117
Cannot write "\\Fritz-nas\fritz.nas\D_Save\10it\sync.ffs_lock".
I have no problem, when I copy to the nas.

Is there a workaround?

mike
User avatar
Posts: 2451
Joined: 22 Aug 2012

Plerry

...Cannot write "\\Fritz-nas\fritz.nas\D_Save\10it\sync.ffs_lock"...milenke
This is most likely caused by the fact that FFS, as invoked by RTS upon detection of changes in the monitored folder(s), is run under different user credentials than when simply copying to the NAS from your Windows(?) account.

I suppose you start RTS from the Task Scheduler.
In the Task Scheduler, you can specify the user credentials under which the RTS task is to be run.
Try specifying a Windows account that has identical user-credentials as a defined Fritz-NAS user-name and -password combination that has write access for the folders (and subfolders) on your Fritz-NAS that are included in the sync,
or has user credentials defined and stored in Windows for the Fritz-NAS network location having write access to said folder(s) and subfolders.