Topic "Make sure file upload was successful by checksum comparison"

Author Message
winfan
[View user's profile]

Joined: 2008-11-27
Posts: 2
Hello,

first thanks for this great piece of software.

I am using an automated Winscp script to upload files to a server with SFTP.
Can i force WinSCP to compare the local with the remote checksum(md5) (server supports it) to ensure the upload was correct? Or is this already part of the SFTP protocol? I hope you can help, as the documentation says that Winscp can retrieve checksums manually, but i found no info on doing this automatically.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
WinSCP cannot do that automatically. However there's almost not chance the the file gets corrupted while transferring over SSH connection. It can happen only due to HDD failure on either side.
_________________
Martin Prikryl
winfan
[View user's profile]

Joined: 2008-11-27
Posts: 2
prikryl wrote:
WinSCP cannot do that automatically. However there's almost not chance the the file gets corrupted while transferring over SSH connection. It can happen only due to HDD failure on either side.


Hello Martin,
thanks for your reply. I already thought that SSH had such a transaction mechanism, but i found no documentation for that. Do you have any links where i can read how SSH ensures package integrity?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
winfan wrote:
thanks for your reply. I already thought that SSH had such a transaction mechanism, but i found no documentation for that. Do you have any links where i can read how SSH ensures package integrity?

I don't. Check SSH RFC Smile
_________________
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