Page 1 of 1

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

Posted: Mon 05 Sep 2016 07:37
by d.borgia
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)

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

Posted: Tue 06 Sep 2016 13:44
by ViktorV
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