aMule Forum

English => Feature requests => Topic started by: asamule on August 17, 2008, 09:04:35 AM

Title: Import file data (not meta-data)
Post by: asamule on August 17, 2008, 09:04:35 AM
I would like to request an option to import data from any arbitrary file into an existing download.

The option would not be available until hashes have been acquired for the file. But after that you can right click on the file and choose import - this would read in the file and locate any completed parts and slipstream them into the file (i.e. merge any currently completed parts with any completed parts from the other file).

And if it could use AICH for detecting completed (or assumed completed) parts that would really be wonderful.

BTW: Is it possible request hashes for a file from a peer without waiting in line to download actual data for the file?

If it wasn't obvious, this feature is to be able to take over a partial torrent download, and attempt it in aMule. (Well a file from any source actually.)
Title: Re: Import file data (not meta-data)
Post by: lfroen on August 18, 2008, 03:58:48 PM
Well, it couldn't be any source, since amule have to figure out somehow which data is available and which is not. I have no idea where torrent save this info. Isn't it application-specific?
Title: Re: Import file data (not meta-data)
Post by: Stu Redman on August 18, 2008, 06:44:32 PM
The torrent file has the same "format" as the part file (none...). The idea is to simply rehash it (possibly using AICH) and see what's already there. Torrents tend to blink out of existence suddenly, usually at 95% completion.  :P
One idea was to full stop (http://forum.amule.org/index.php?topic=15649.0) the download, replace the part file with the torrent file, rehash it and then resume it.
Title: Re: Import file data (not meta-data)
Post by: asamule on August 22, 2008, 10:27:53 PM
Well, it couldn't be any source, since amule have to figure out somehow which data is available and which is not. I have no idea where torrent save this info. Isn't it application-specific?
aMule has already downloaded hashes for the file. Use the ed2k hashes to check the file.

.torrents don't save the data anywhere - if they have it, the file has it, if not then not. Simply reading the file and checking hashes (either ed2k ones, or torrent ones) will tell you.