What is the Difference between Synchronize files and Mirror?

Advertisement

zohar
Guest

What is the Difference between Synchronize files and Mirror?

Hi


In the Synchronize Window:
https://winscp.net/eng/docs/ui_synchronize

What is the difference between Synchronize files and Mirror files?


The documentation says:

With Synchronize files mode, the newer files in source directory are transferred to the opposite directory.
Files in source directory not present in target directory can optionally be transferred as well (disable this using the option Existing files only).
Files in target directory not present in source directory are optionally deleted (enable option Delete files).
In Both mode (see above), file not present in an opposite directory is considered new, hence it is transferred (if allowed), but never deleted.
In other words, in Both mode, no file is ever deleted.


With Mirror files mode, the different (both newer and older) files in source directory are transferred to the opposite directory.
Otherwise the mode is the same as Synchronize files.

But it seems the same - I cannot understand any difference from that..

Can anyone please clarify what is the difference between them,
so I can know which one is the appropriate one for me?


Thank you

Zohar[/quote]

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,540
Location:
Prague, Czechia

Re: What is the Difference between Synchronize files and Mirror?

Highlighting the difference:

With Synchronize files mode, the newer files in source directory are transferred to the opposite directory.

With Mirror files mode, the different (both newer and older) files in source directory are transferred to the opposite directory.

Reply with quote

lawleraj
Guest

Re: What is the Difference between Synchronize files and Mirror?

martin wrote:

Highlighting the difference:

With Synchronize files mode, the newer files in source directory are transferred to the opposite directory.

With Mirror files mode, the different (both newer and older) files in source directory are transferred to the opposite directory.

What do 'newer' and 'older' mean? Newer than what?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
29,540
Location:
Prague, Czechia

Re: What is the Difference between Synchronize files and Mirror?

lawleraj wrote:

What do 'newer' and 'older' mean? Newer than what?
Newer/Older than the files with the same name in the opposite directory.

Reply with quote

hlee
Guest

Please update doc.

I definitely had the same confusion (which lead me to this thread during a Google search). "Newer" could mean newer than X-number of days. I would request the documentation be updated to clarify. Thanks.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,540
Location:
Prague, Czechia

Re: Please update doc.

hlee wrote:

I definitely had the same confusion (which lead me to this thread during a Google search). "Newer" could mean newer than X-number of days. I would request the documentation be updated to clarify. Thanks.
OK, I've tried to make the wording clearer:
https://winscp.net/eng/docs/task_synchronize_full#mode

Reply with quote

Advertisement

You can post new topics in this forum