Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

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

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