Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
amule: piecing together incomplete dl bits
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Tue Sep 27, 2005 1:04 am    Post subject: amule: piecing together incomplete dl bits Reply with quote

Hi,

dies anyone know how to peice together all that part file fragements of an incomplete download from amule.

I have a large file that is an archive that is 95% complete but all the stats show it is unlikely that any server has a complete version.

I will take if off my shared area to stop it propagating further but I wondered how to recover what I have got.

It looks like I have 80% contiguous , so I should at least be able to pull something from the rar .

Ideas,

TIA, Gentree. 8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
fangorn
Veteran
Veteran


Joined: 31 Jul 2004
Posts: 1886

PostPosted: Tue Sep 27, 2005 6:09 am    Post subject: Reply with quote

If the archine is rar or zip winrar (should run under wine) is capable of restoring the completed files (given there is a complete file in there and not just one big incomplete file, like a cd/dvd iso or a movie). Option "Repair Archive"
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Tue Sep 27, 2005 11:03 am    Post subject: Reply with quote

Thanks , that was not really what I was asking .

Code:
prof@newsys ~/.aMule/Temp $ ls
001.part          006.part.met      010.part.met.bak  024.part
001.part.met      006.part.met.bak  016.part          024.part.met
001.part.met.bak  007.part          016.part.met      024.part.met.bak
002.part          007.part.met      016.part.met.bak  025.part
002.part.met      007.part.met.bak  022.part          025.part.met
002.part.met.bak  010.part          022.part.met      025.part.met.bak
006.part          010.part.met      022.part.met.bak


I think 007* is the file concerned that wont complete. My question is what can best be done with these bits?

looking at the file size it seems all the data must be in *part and presumbably *part.met must be some index into how the bits are stored which will not necessarily be contiguous.

So my question is , is there a tool or technique to extract as much of the file as possible from this data before using an archive repair tool on it?

TIA. 8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
fangorn
Veteran
Veteran


Joined: 31 Jul 2004
Posts: 1886

PostPosted: Wed Sep 28, 2005 5:43 am    Post subject: Reply with quote

All the data is in the .part file. I don't know the amule interface (will in a few weeks) but all the windows clients allow you to get info of the download in the open gui interface so you don't have to guess what number it is.

I thought that was clear, sorry. Doing it for years.

As I said, all the data from the file are in the .part file. The other files contain managment data, like the file name, the clients that are known to have the file, ...

The data are stored in the way they are in the original file, there is no resorting when the download is complete, just a move of the file to the new filename. The data that arrives gets automatically written to the right position in the file. That does not concern the position on the harddisk, that is why the edonkey clients write so many fragmented files to the disk. But the ordering in the file is always correct!!!

To get the data you just have to copy the 007.part file to another location, rename it to .rar and repair it with winrar (don't know of any other program that can repair rar or zip files this successful).
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Thu Sep 29, 2005 10:10 am    Post subject: Reply with quote

well
Code:
rar r broken_file
can repair a damaged rar, dont know if winrar can get more from it.

it's been a long time since I booted to windows. I could see if winrar can get more off the same partial.

thanks for your suggestions. 8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum