aMule Forum

English => aMule Help => Topic started by: Janni on July 25, 2004, 05:18:01 PM

Title: Continue on completed file?
Post by: Janni on July 25, 2004, 05:18:01 PM
Dear readers,

I have downloaded a 1,9GB file, and after aMule completed the file, it got corrupted, because my harddisk had bad blocks.

Now have I bought a new disk, and was wondering, if there is some way to get aMule to download the parts of the file that i broken?

I still have the ed2k link.

Lots of love,
Janni
Title: Re: Continue on completed file?
Post by: Jacobo221 on July 25, 2004, 08:39:10 PM
If I have understood the problem correctly, then you could do the following:

1) Start the download again
2) stop aMule and delete the part file (i.e.: remove 002.part if 002.part id the download)
3) rename the 1.9GB file to 002.part
4) move the corrupted download (now called 002.part) to the Temp directory

I hope that helps.
Greetings!
Title: Re: Continue on completed file?
Post by: Janni on July 25, 2004, 10:50:02 PM
What a great idea. :)

I have just tried it, but aMule doesn't seam to rehash the file. :( It just downloads as if the file was empty.

Perhaps there is some information in the .met file, how far it have downloaded, and therefore doesn't sees the need for rehashing the file?

Thanks for your fast reply :)

Hugs,
Janni
Title: Re: Continue on completed file?
Post by: Jacobo221 on July 26, 2004, 12:39:54 AM
No, AFAIK, all that information is in the same .part file.
I guess the file is either very badly damaged or aMule isn't checking failed chunks when the file is completed. I would rather bet the first one ;-)
So, best try: redownload :-P
Luck there!
Title: Re: Continue on completed file?
Post by: deltaHF on July 26, 2004, 04:35:20 AM
try maybe rm -f known.met in your .aMule dir
Title: Re: Continue on completed file?
Post by: Janni on July 26, 2004, 11:58:36 AM
No, that didn't help either :( aMule seams to know, that it haven't downloaded anything, and therefore just write 0 as transfered and 0 as completed.

Could I perhaps write the file size somewhere in the 002.met or know.met, so aMule thinks it have completed it all, and therefore rehashes the file?

Kisses,
Janni
Title: Re: Continue on completed file?
Post by: Jacobo221 on July 26, 2004, 02:06:33 PM
well, I guess the part file no longer contains the meta information about the chunks' status etc, so it really is a completed file...
Maybe there is some utility to save those problems, check if this helps (allthough i might think it won't): http://www.bigwillystyle42.com/document.php?dest=mfr (java needed)
Btw, known.met contains ifnormation about the files in the shared directories and in the Incoming directory, so I guess deltaHF didn't read the whole thread xD XPPPPP
Luck with the app and the file (you'll need it) hehe
Greetings!
Title: Re: Continue on completed file?
Post by: Kry on July 26, 2004, 02:09:58 PM
you need to first download 1 full part (9,28 MB), then copy the old 002.part over the new one, DO "touch 002*" and then run amule.


That should work.
Title: Re: Continue on completed file?
Post by: Janni on July 26, 2004, 03:41:41 PM
I'll try that right away :D

It is a rare file, so downloading 9,28MB may take a day or so. I'll post the result as soon as it arrives :P

I have set aMule to "try and download first and last parts first". That would increase my chances of getting 1 full part, wouldn't it?

Love,
Janni
Title: Re: Continue on completed file?
Post by: deltaHF on July 27, 2004, 12:07:12 AM
no matter last or first, amule needs only 1 chunk

greets
Title: Re: Continue on completed file?
Post by: Jacobo221 on July 27, 2004, 12:36:09 AM
I'll add this to faq, since it is very usefull :-)
Greetings!
Title: Re: Continue on completed file?
Post by: Janni on July 27, 2004, 09:20:36 PM
Quote
you need to first download 1 full part (9,28 MB), then copy the old 002.part over the new one, DO "touch 002*" and then run amule.

It lives.. I mean, It works :)

After this trick, the file doesn't get green like a normal completed file, but is kept black and "Time remaining" is 0 bytes. So I just pressed right mouse button to see the temp file name (the preview menu item writes the temp file name).

This is so great! Hopefully someone will download the file from me now :)

Thank you all so much for your help!

Kisses,
Janni
Title: Re: Continue on completed file?
Post by: Jacobo221 on July 28, 2004, 12:02:51 AM
Added at the end of the aMule Problems FAQ :-)
Great to know it work!
Greetings.
Title: Re: Continue on completed file?
Post by: Janni on July 28, 2004, 12:59:26 AM
So I see :)
http://www.amule.org/wiki/index.php/AMule_problems#I_downloaded_a_file_and_it_got_corrupted_somehow_by_my_hard_disk_or_some_external_application_once_completed._Can_I_avoid_redownloading_the_whole_of_it?

Is it enough to just "touch ~/.aMule/Temp/002.part" ?

I wrote: "touch ~/.aMule/Temp/002.part*"

Perhaps it would be of help to add, that one chunk is 9,28MB?

Hugs,
Janni :D
Title: Re: Continue on completed file?
Post by: Jacobo221 on July 28, 2004, 01:14:31 AM
Ye, if I understood how the trick works, touching -part only should do

I haven't added the chunk clarification (the 9.28 MB note) because I plan to someday take some time and do the links on the FAQs, so the word "chunk" would link to the "What is a chunk" part in the network FAQ ;-)
But feel free to edit it and add whatever you want!
Greetings
Title: Re: Continue on completed file?
Post by: Janni on July 28, 2004, 11:37:17 AM
You are right, links are better, but I don't think I can figure out how to make a link, so I have just added "(9.28MB)" and added a '*' to the touch command :)

Pretty neat that users can edit the pages!  :P

Hugs,
Janni
Title: Re: Continue on completed file?
Post by: Jacobo221 on July 28, 2004, 10:34:05 PM
I'm not sure _at all_ about the real need of that '*'...
Kry, can you confirm whether it's needed or not?