md5 check for upload/download files to/from SFTP server
Posted: 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)
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)