.dctmp format

Archived discussion about features (predating the use of Bugzilla as a bug and feature tracker)

Moderator: Moderators

Locked
Cyborg
Posts: 41
Joined: 2004-01-23 18:15

.dctmp format

Post by Cyborg » 2004-09-19 17:12

Hey there!

How about adding some more info to the dctmp file names (like full size) and then associate the type to DC++. That would be a really good way to resume unfinished files after reinstallation of DC++ or Windows... Or sometimes when DC++ crashes and the download queue is lost...You just have to dbl-click on the unfinished file and it's added to the queue again!

joakim_tosteberg
Forum Moderator
Posts: 587
Joined: 2003-05-07 02:38
Location: Sweden, Linkoping

Post by joakim_tosteberg » 2004-09-20 00:12

Isn't it enoigh wit the TTH root for you? Using the TTH you can recover the download queue and be absolutly sure that it is the correct file you've resumed with.

Cyborg
Posts: 41
Joined: 2004-01-23 18:15

Post by Cyborg » 2004-09-20 08:49

Yeah. That's enough for me... But is that enough for DC? Doesn't it need to know the size? Have you ever seen a queue item with unknown size?

ivulfusbar
Posts: 506
Joined: 2003-01-03 07:33

Post by ivulfusbar » 2004-09-20 08:54

Yes i have. ;)). And it is redundant information. You will find the size from the answer of the TTH-search. ;))
Everyone is supposed to download from the hubs, - I don´t know why, but I never do anymore.

Cyborg
Posts: 41
Joined: 2004-01-23 18:15

Post by Cyborg » 2004-09-20 14:51

Sometimes it's not possible to find any matches by TTH, so you'll have to search by name instead... Then it's good to know the size.

Anyway. It would be nice to have the format associated with DC so you only need to double click it to add it to the queue.

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Post by GargoyleMT » 2004-09-20 18:50

If you can't find matches by TTH, you're not finding the same file.

Magnet links also don't contain the size for this reason - hash alone is enough to uniquely identify the file.

Cyborg
Posts: 41
Joined: 2004-01-23 18:15

Post by Cyborg » 2004-09-20 19:07

I'm talking about people that don't use hash! Sometimes when you search for a file you get alot of matches without a TTH root. And sometimes you don't even have a TTH for the file you are downloading at all. I think the size it useful until everyone start using TTH.

The main thing I wanted to say was that you should associate .dctmp to DC and make it add the file to the queue when people double click on it. Sounds good?

GargoyleMT
DC++ Contributor
Posts: 3212
Joined: 2003-01-07 21:46
Location: .pa.us

Post by GargoyleMT » 2004-09-20 19:14

Cyborg wrote:I think the size it useful until everyone start using TTH.
90% of the people in the hubs I'm in are using 0.307 or newer, so for me there's no benefit to doing things the old way, without TTHes.
Cyborg wrote:The main thing I wanted to say was that you should associate .dctmp to DC and make it add the file to the queue when people double click on it. Sounds good?
When I changed the format, I inteded to write something that would scan a directory structure for incomplete files and recreate a queue from the incompletes. Adding a file association is possible as well.

Cyborg
Posts: 41
Joined: 2004-01-23 18:15

Post by Cyborg » 2004-09-20 20:27

GargoyleMT wrote:When I changed the format, I inteded to write something that would scan a directory structure for incomplete files and recreate a queue from the incompletes. Adding a file association is possible as well.
Sounds good! :D

But I still think it's a good idea to add the size to the filename...All the usefull info from the queue should be added. Not the sources etc.
When alot of files has been added to the queue and none of the sizes are known, you don't know how much space it all will use. I see no harm in adding the size. Only profits.

Locked