md5 check for upload/download files to/from SFTP server

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
d.borgia
Posts: 1
Joined: Fri 02 Sep 2016 16:46

md5 check for upload/download files to/from SFTP server

Post by d.borgia » Mon 05 Sep 2016 07:37

Hi everyone,

i've just implemented a console application that upload file from certain directory and the pared one thet download some other files. In particular for the second one, i need to be sure that the downloaded files are completed before delete those from server. So i need to check the md5 digit (both local and remote files). there is some trick to do that through the SFTPclient I've instantiated?

Note: locally is not a question, there is a dedicated lib in delphi
Note2: I've just tried with ssh console command, but i can't open console on remote server (is third party server, I can't control it, even ask to open that)

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: md5 check for upload/download files to/from SFTP server

Post by ViktorV » Tue 06 Sep 2016 13:44

To resolve your issue, you can use the Client.CheckFile method. See more details about this method in SecureBridge help: https://www.devart.com/sbridge/docs/tsc ... ckfile.htm

Post Reply