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 md5 of the file before and after download.
I need to know how can i generate the md5 hash of this file, before it downloading ?