Topic "Synchronize mode in scripts?"

Author Message
Sman

Guest


Hello,

I use the following in a WINSCP script to synchronization.


Code:
synchronize local C:\Images\ /remotefolder/


How do I specify the synchronize "mode" in a script? (ie. one of "synchronize files", "mirror files", "timestamp")?

Thanks
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Please read documentation:
https://winscp.net/eng/docs/scriptcommand_synchronize (for mirror)
https://winscp.net/eng/docs/faq_script_ini (for timestamp sync)
_________________
Martin Prikryl
Sman

Guest


Hi prikryl,

prikryl wrote:


I have read both of that.

I can't find the setting for "Synchronize files" mode.

The UI mode has three options, the first being "Synchronize files". I can't find how to set that in Scripts.

Thanks
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Synchronize files is the default. You do not have to set it anywhere.
_________________
Martin Prikryl
Sman

Guest


Thanks 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