View Single Post
  #2494  
Old 30.11.2022, 19:39
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

Quote:
Originally Posted by Coldblackice View Post
Yes, that's right. I don't suppose JD can calculate/compare file hashes, could it? Even cooler would be if JD could compare the hash of a downloaded file with the already-existing file, check if they match, and if they do match, discard/recycle the redundant copy.
But I'm guessing hashing is beyond the ability scope of JD (which isn't a big ordeal).
Only very little sites do provide hashes for their files, so comparing hash values with hash from file won't be possible in 99,99% of supported sites.
JDownloader could do that for sure, but for *file exists on disk checks* only filename/filesize are used because hash calculation of existing files will have major impact on system/disk/JDownloader performance. But with Eventscripter this can be possible to do. I just have to create some new script methods to calculate hash.
__________________
JD-Dev & Server-Admin
Reply With Quote