Nexus downloads aren't accurate with big files
I can reproduce it with "Intelligent Textures-47469-2-1-1588592170.7z", which size is more than 1GB.
It can be reproduced with portmod (my code for nexus downloads) and with firefox (manual download & download from direct link that nexus generate from
Before the end of a file, the download fails. In firefox you can retry it to download the rest. I've compared remote_size (from "Content-Length" header) and downloaded size:
File sizes don't match! Expected size: 1101249134 Actual size: 1081219493
But actually, actual size is random: sha512 sums differs for every try.
So, the problem is: portmod doesn't download missing parts if a download fails. Current post check downloads from scratch, if hashes mismatch. Which will fail, again and again, because of the same problem. And, actually, we don't have any hashes for nexus mods before it downloaded, so it won't be the case anyway.
I suggest to check if downloaded size is less than expected (if any) and (if so) download missing part and check again (and again, and again, until downloaded size matches expected or something indicates that download is over).
I'll probably implement a fix in next couple of days.