Tracker »
Issue 52 – Use file hash as criterion for synchronization
:
Core
:
Unspecified
:
Enhancement
:
Low
:
19
Alternative is to download remote file to temporary location and calculate hash locally. This would make sense only if download is considerably faster than upload. Otherwise it would be faster to simply transfer whole tree instead of using synchronization.
However obviously this is much harder to implement (efficiently) than remote-side hashing.
https://winscp.net/forum/viewtopic.php?t=5626
However obviously this is much harder to implement (efficiently) than remote-side hashing.
https://winscp.net/forum/viewtopic.php?t=5626
First step:
File checksum calculation support for SCP protocol and SFTP protocol via secondary shell session using shell commands like sha256sum
Commit b4c490b4
File checksum calculation support for SCP protocol and SFTP protocol via secondary shell session using shell commands like sha256sum
Commit b4c490b4
Implemented.
Commit 804ec9c9
Commit 804ec9c9
Documented:
https://winscp.net/eng/docs/ui_synchronize#criteria
https://winscp.net/eng/docs/scriptcommand_synchronize#criteria
https://winscp.net/eng/docs/rawconfig#interface_synchronizeparams
https://winscp.net/eng/docs/library_session_synchronizedirectories#criteria
https://winscp.net/eng/docs/library_session_comparedirectories#criteria
https://winscp.net/eng/docs/ui_synchronize#criteria
https://winscp.net/eng/docs/scriptcommand_synchronize#criteria
https://winscp.net/eng/docs/rawconfig#interface_synchronizeparams
https://winscp.net/eng/docs/library_session_synchronizedirectories#criteria
https://winscp.net/eng/docs/library_session_comparedirectories#criteria
Caused Issue 2260.
Caused Issue 2291.
(once there is considerable support for that on servers)