Topic "Synchronize by content?"

Author Message
Vacilando
[View user's profile]

Joined: 2005-02-26
Posts: 8
Location: Slovakia
Hi again,

The only thing I am missing in WinSCP so far is the ability to synchronize by content. I can imagine that means actually downloading the remote file (in the background) in order to compare it, so it would be slower, but still it would be a great feature. Have you thought about it - will we see it anytime soon?

Cheers -
_________________
Travel in All Senses
http://www.vacilando.org
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
I do not plan this. But maybe if more people ask (you are the first)... Smile
_________________
Martin Prikryl
Vacilando
[View user's profile]

Joined: 2005-02-26
Posts: 8
Location: Slovakia
I may be the first but I am definitely not alone - see here: http://www.ghisler.ch/board/viewtopic.php?t=4567&highlight=

It is important as many files, esp. various config and smaller files, do not always change size, and comparison by timestamp is sometimes problematic.

Comparison by content would be the safest of all synchronization methods. And it could be really easy to implement - just calculate and compare the hash values of each pair of files.

Thanks for considering this Smile
_________________
Travel in All Senses
http://www.vacilando.org
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Vacilando wrote:
I may be the first but I am definitely not alone - see here: http://www.ghisler.ch/board/viewtopic.php?t=4567&highlight=

But you are still the first one asking for this feature in WinSCP Smile

Quote:
Comparison by content would be the safest of all synchronization methods. And it could be really easy to implement - just calculate and compare the hash values of each pair of files.

But how do I get hash of remote file? SFTP protocol supports this only as optional extension since version 5. And there is no SFTP server I'm aware of supporting protocol version 5. The most widely used SFTP server, shipped with OpenSSH, supports only version 3.
_________________
Martin Prikryl
Vacilando
[View user's profile]

Joined: 2005-02-26
Posts: 8
Location: Slovakia
Smile

Quote:
But how do I get hash of remote file? SFTP protocol supports this only as optional extension since version 5. And there is no SFTP server I'm aware of supporting protocol version 5. The most widely used SFTP server, shipped with OpenSSH, supports only version 3.


You are right; and I would not propose anything that would require changes on peoples' servers. No. I thought you could actually download the remote file to a temporary place on the background and do the comparison (actually it does not need to be hash then).

I know it would be SLOW but well, it is again on the user whether s/he uses it. In some cases it is vital. And, speed of the Net increases every day.
_________________
Travel in All Senses
http://www.vacilando.org
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Vacilando wrote:
I know it would be SLOW but well, it is again on the user whether s/he uses it. In some cases it is vital. And, speed of the Net increases every day.

But I do not think I want to go this way.

Again: Maybe, but only if more people ask for this.
_________________
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