Topic "2 way sync with delete"

Author Message
Guest




Hi

I'm looking to script a 2 way sync with delete, but so far I've been unable to achieve what I'm after with the GUI, so I'm looking to find if it's even possible.

The situation I have is that files can be added, changed or deleted on both the PC or the FTP side, and I want it to synchronise correctly between the 2. The adds and changes work fine with 'Both' mode, but delete doesn't appear to function. So if I delete a file from the FTP side, the PC puts it back on the next sync.

I found this thread, https://superuser.com/questions/935353/filezilla-how-to-synchronize-two-way-newest-file-wins - which shows pictures of the sync screen with 'Both' selected and 'Delete Files' enabled and ticked. When I select 'Both', 'Deleted Files' is greyed, and although I can pre-select delete before it's disabled, the sync checklist only shows adds or changes. I'm using version 5.9.6 on Windows 10.

If there a way to 2 way sync with it accurately handling deletes, or is there no way for it to know whether it was deleted on one side, or added on the other side with SFTP?

Thanks,
Jim
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26911
Location: Prague, Czechia
It's not possible. How could WinSCP recognize, if a file was added on one side or deleted on the other?

That screenshot was "photoshopped". It was not real. It's fixed now.
Advertisements

You can post new topics in this forum

Search

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