aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Importing partfiles  (Read 5816 times)

stoatwblr

  • Sr. Member
  • ****
  • Karma: 12
  • Offline Offline
  • Posts: 318
Importing partfiles
« on: May 17, 2010, 02:20:10 AM »

This doesn't work in the amulegui and right now it appears the only way to make this work is to temporarily shutdown amuled in favour of amule.

Is there any (easy) way of adding this function to amulecmd or providing a local command?

TIA


Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Importing partfiles
« Reply #1 on: May 17, 2010, 07:33:39 PM »

Why do you want to import partfiles ? I've never used the importer. Copying them to the temp dir and restart does the trick.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

stoatwblr

  • Sr. Member
  • ****
  • Karma: 12
  • Offline Offline
  • Posts: 318
Re: Importing partfiles
« Reply #2 on: May 17, 2010, 08:48:53 PM »

Mainly because I had some FS issues and had to move some partfiles out.

One of those partfiles is 350Mb and 100%, but won't complete for whatever reason (hashing is messed up)

Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: Importing partfiles
« Reply #3 on: May 17, 2010, 09:54:33 PM »

This doesn't work in the amulegui
The only thing preventing it from working is the lack of a "remote directory browser".
Logged
concordia cum veritate

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Importing partfiles
« Reply #4 on: May 17, 2010, 10:52:03 PM »

- which is NOT trivial to implement.
We have discussed this issue with other places (Incoming dirs) before. Maybe a simple text control for the remote path would do the trick.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

stoatwblr

  • Sr. Member
  • ****
  • Karma: 12
  • Offline Offline
  • Posts: 318
Re: Importing partfiles
« Reply #5 on: May 19, 2010, 08:05:05 PM »

. Maybe a simple text control for the remote path would do the trick.

Or a simple textmode program  like "partfileimport blah" on the amuled box?

Logged

stoatwblr

  • Sr. Member
  • ****
  • Karma: 12
  • Offline Offline
  • Posts: 318
Re: Importing partfiles
« Reply #6 on: May 21, 2010, 12:28:49 PM »

Now 2 files in this state.

They've each taken around 3 months to complete, so I'm not keen on starting over.

Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Importing partfiles
« Reply #7 on: May 21, 2010, 01:33:38 PM »

Partfile importer won't help here. Standard behavior:
- move part + met away
- start amule
- restart download of it from scratch, wait until some data has arrived (precisely: part hashes have been transmitted
- stop amule, replace new part file with old part file. Leave the new met file !
- restart amule. It will rehash, and either complete it, or download what's missing.

But first check free space of your incoming dir.   :)
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: Importing partfiles
« Reply #8 on: May 21, 2010, 07:03:57 PM »

- restart download of it from scratch, wait until some data has arrived (precisely: part hashes have been transmitted
In human-readable form: wait, until at least one part is finished (i.e. if you expand the download there is at least one part marked green)
Logged
concordia cum veritate

stoatwblr

  • Sr. Member
  • ****
  • Karma: 12
  • Offline Offline
  • Posts: 318
Re: Importing partfiles
« Reply #9 on: May 21, 2010, 09:30:16 PM »

Pointers noted. thanks.

"But there's got to be a better way..."

:)

Over 100Gb free in the partition holding the part/met files.

« Last Edit: May 21, 2010, 09:32:14 PM by stoatwblr »
Logged

stoatwblr

  • Sr. Member
  • ****
  • Karma: 12
  • Offline Offline
  • Posts: 318
Re: Importing partfiles
« Reply #10 on: May 23, 2010, 02:02:13 PM »

Partfile importer won't help here. Standard behavior:
{snippage}

Didn't work.

It still complains that part N 0f N is corrupt, filehash is all zeros...

Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Importing partfiles
« Reply #11 on: May 29, 2010, 07:40:55 PM »

filehash is all zeros...
Huh? Are you trying to download a link with a zero filehash and expect to get anything or what?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

stoatwblr

  • Sr. Member
  • ****
  • Karma: 12
  • Offline Offline
  • Posts: 318
Re: Importing partfiles
« Reply #12 on: June 02, 2010, 03:00:28 AM »

nooooo....

The link has a non-zero filehash. Amule is griping that the hash of the local file is zero. (and the last part - "26 of 26" etc is corrupt)

Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Importing partfiles
« Reply #13 on: June 02, 2010, 10:04:36 AM »

I'm not getting you.  ???
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: Importing partfiles
« Reply #14 on: June 02, 2010, 12:11:10 PM »

I am. When aMule hashes a part for corruption, it shows the hash on the log.
Logged