Some files downloaded with Premium Downloader are truncated again. I've reported the before but it doesn't seem to be fixed.
Is it not possible to NOT cache incomplete downloads? Alternatively, how about adding a button which allows the user to delete an incomplete copy in the premium downloader cache so that the complete file can be redownloaded?
It's not possible. In order for you to be able to download a file from our server, it needs to be on our server, that's what the cache is. At the same time we have no way of ascertaining whether the cached file downloaded completely or not. As I previously mentioned, this only happens with large files (audiobooks) and as far as I can tell it's almost always on the filehost Rapidgator.
I understand how a cache works and I think it's great to use one. I'm a bit surprised that the premium downloader cannot detect a connection timeout ( I assume this is what's causing the problem ) when initially downloading the file, and discard the file in this case. It should only cache files which have completed without errors.
It would be possible to check at least a few filetypes for correctness, e.g. all ZIP, RAR, 7z files can easily be tested by 7z, but I understand that this might be too much effort and doesn't cover other formats.
It should be possible, however, to add a button somewhere on the page which allows a premium user to delete a single file from the cache. That way, when clicking the blue arrow again, the premium downloader will contact the original filehost and download a new, correct copy and store it in it's cache. I understand that this happens mostly with RG and audiobooks, but this doesn't really help me or other premium downloader users.
Other than that, I want to thank you all again for this great service!
EDIT: Regarding failing downloads: I've experienced this myself now. It happened on: viewtopic.php?f=124&t=3740564
The premium downloader is trying to download the file, but it never completes: https://images.mobilism.org/?dm=9JA9
It can be seen in the screenshot that the premium downloader knows how big the file is: 349.16 MB. Therefore, it should be easy to determine if the file has been downloaded completely, even if the premium downloader cannot determine that the download timed out or had any other errors.
By simply comparing the size of the downloaded file with the expected size, the premium downloader can determine if the file is complete or not. It should only put complete files into the cache and discard incomplete ones.