Topic "Scripting synchronization options"

Author Message
Guest

Guest


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.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
It is unset by default. If you have turned it on from GUI, turn it off there. You cannot change it from the script.
_________________
Martin Prikryl
Guest




prikryl 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
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
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.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License