title: Get md5 hash of a file in ftp server using java
body: <p>I have wrote a java programme to download a file from FTP server. I need to check are there any corruptions after download the file. so i decided to check <strong>md5</strong> of the file before and after download.</p>
  
  <p>I need to know how can i generate the <strong>md5 hash</strong> of this file, before it downloading ?</p>