How to check DCTMP completion (progress)

Asked by Guset

Is there a way to deactivate the ANTIFRAG method in the newer v0.707? I remember i could deactivate it in older versions, but in this one, i can't find it. This results in an ANTIFRAG file that is the total size of the download and hence i cannot determine the DCTMP file progress (how much has been downloaded). The reason i want to be able to see that, is that DC++ crashed and some downloads disappeared from the Queue.xml file. I found the way to resume them, BUT if i do not remember how much has already been downloaded. Therefore when i recreate the file in the Queue.xml i need to guess how much has already been downloaded and to be safe i put a smaller number, hence re-download part of the file from scratch.

Is there a way to check a DCTMP file (not from DC++ obviously, because that file does not exist for it yet) and see how much is already complete?

Many thanks,

Kosta

Question information

Language:
English Edit question
Status:
Solved
For:
DC++ Edit question
Assignee:
No assignee Edit question
Solved by:
eMTee
Solved:
Last query:
Last reply:
Revision history for this message
eMTee (realprogger) said :
#1

eMTee suggests this article as an answer to your question:
FAQ #127: “How can I disable antifrag in DC++ 0.706 and newer?”.

Revision history for this message
Best eMTee (realprogger) said :
#2

Currently the only way to resume downloads if the queue item is lost is guessing by examining the dctmp file by a hex editor and find the first point where the first unfinished chunk resides and set one segment in the queue from beginnig to there. The unfinished file is filled with zeros at start so if your file is a compressed or media file it may easy to find the correct resume point.

Because it is a common problem and unsolved in all new 0.7xx (based) clients I have an idea to create an user friendly way to solve it... I just need some time and maybe convince a more experienced core developer to Help me a bit =)

Revision history for this message
Guset (darkguset) said :
#3

Great answers! Many thanks eMTee! I wish i could help, but i am not THAT good at programming. I wish you luck in your progress and i hope you get to materialize your idea!

Revision history for this message
Guset (darkguset) said :
#4

Thanks eMTee, that solved my question.