#1
|
|||
|
|||
![]()
Hi,
Sometimes, DLCs get updated by adding more links. If I already downlaoded (but not yet unpacked) all old links, and then add the new version of the DLC (contianing all old links plus some new ones) to JD2, I get a "File exists" error for all of the old links. My idea is to perform a CRC-Check for the existing files and if OK, set the status to "CRC OK" instead of "File exists". This way, you can easily check if the old links are really the same or if they have been changed and I need to download them again. Thanks and Regards, ubuntix |
#2
|
||||
|
||||
![]()
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#3
|
|||
|
|||
![]()
I have just checked the ticket in the bugtracker and noticed that further information is required.
My idea is to treat the existing files (almost) the same way as files that have just finished downloading. As every link is associated with a hoster, the hoster is the source for the CRC sum. If the hoster does not provide CRC sums, well, then there is nothing that can be done about it. I'm not sure what would be the best way to handle multiple links to different mirrors with the same file. Either check the CRC sum of all of them or try the hosters one after another until one hoster is found that provides the CRC sum. For grouping, the already existing code that recognizes same files (the one that marks a link as "already downloading by another hoster") can be re-used. A sample link would not make sense for this ticket, because it would require a package that is constantly updated. But the packages are only updated for a few days or weeks until they are complete, and after that they are static. But there is a simple way to test the CRC checking of existing files:
Just never reset the links without having moved the files to a different directory ... ![]() |
#4
|
||||
|
||||
![]()
Jiaz has implemented it. Please wait for the next core update.
__________________
» Setup JD2 / Instalador de JD2 «
Spoiler:
Installer for Windows XP/Vista/Seven/Eight || JD2 x86 - x64 (Beta) || Installer for Mac || JD2 (Beta) || Installers for Linux || JD2 (Beta) x86 || <---> || JD2 (Beta) x64 || How to Create a Log -» Click Here «- ¿Cómo crear un registro? -» Click Aquí «- Support Chat / Chat de Soporte -» Click Here / Click Aquí «- |
#5
|
|||
|
|||
![]()
Thanx a lot.
|
![]() |
Thread Tools | |
Display Modes | |
|
|