Hi , i use indy 'idhttp' to download files , But what i want is :
Before start downloading a file from server i should calc its MD5 why :
because i must be sure if this file has not already been downloaded and saved .
let me suppose the following scenario :
yesterday i downloaded x0.myfile which MD5 is 76ba2f8c4deb6f5cc9275dbdb63fd811 , and today i want to download other files among of them is x0.myfile so when the download process starts it should bypass x0.myfile because it's already downloaded yesterday .
Yes i can use If FileExists(x0.myfile) or comparing x0.myfile's size then bypass , But here i want to work with MD5;
i put this file : update.ini into my remote server :
So only the file x1.myfile will be downloaded .