Scripting synchronization options

Advertisement

Guest
Guest

Scripting synchronization options

Hi,
I've been trying to make my WinSCP script synchronize with the options I want but there's one thing I can't set. How do I unset the 'Existing Files Only' flag?

Thanks very much.
Jon.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Scripting synchronization options

It is unset by default. If you have turned it on from GUI, turn it off there. You cannot change it from the script.

Reply with quote

Guest

Re: Scripting synchronization options

martin wrote:

It is unset by default. If you have turned it on from GUI, turn it off there. You cannot change it from the script.

Ok, thanks. So when the flag is set or unset in the GUI it must change something probably in the registry that WinSCP (when called from the script) looks at. If it is in the registry, what exactly is that?

Thanks very much for your help.
Jon.

Reply with quote

martin
Site Admin
martin avatar

Re: Scripting synchronization options

Look for attribute SynchronizeParams. It's bitmask, where 0x04 is "existing only". Check also this FAQ to learn how to work with configuration for scripting tasks.

Reply with quote

Advertisement

You can post new topics in this forum