Topic "Synchronization"

Author Message
Alex_78

Guest


Hello,

Have I correctly understand that when i realize synchronization with the script:

option batch on
option confirm off
open mark
option transfer
option exclude "*.idx; *.hdx; *.xdx; .htaccess; Backups; Cache; Logs"
synchronize remote D:\www\Sites\a1 /test/www/Sites/a1
close
exit

WinSCP synchronize already available files, that is if i create a new file in a local directory it will not be written down in a remote folder?
And when i realize synchronization with GUI - all is transferred.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Alex_78 wrote:
WinSCP synchronize already available files, that is if i create a new file in a local directory it will not be written down in a remote folder?

No WinSCP synchronizes all files. Even new ones.
_________________
Martin Prikryl
Alex_78

Guest


But in my version new files are not transferred in the removed folder.May be it is because of specific options or WinSCP cachesstatus of directories?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Well, WinSCP synchronizes all file by default. It can actually be configured to synchronize existing files only. This can be configured in GUI only, but script uses the configuration. So please first check if this is the case.
_________________
Martin Prikryl
Alex_78

Guest


Many thanks, has today checked and really all work.
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