aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: aMule 2.2.6 on linux and amuecmd on win7  (Read 2464 times)

me777

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
aMule 2.2.6 on linux and amuecmd on win7
« on: September 04, 2010, 03:44:10 PM »

Hi!
I installed amule on unbuntu and got it running just jine.
Now I want to handle ed2k-links on my win7 machine.
I followed the steps in the wiki; it works in internetexplorer.
In firefox i get the following error from amulecmd:

This is amulecmd 2.2.6

Creating client...
Succeeded! Connection established to aMule 2.2.6
 > Request failed with the following error: Invalid link or already on list.

adding some pause to the .bat i found that ie gives the ed2k-link decoded, firefox gives the link url-encoded.

firefox:
ed2k://%7Cfile%7CaMule-2.2.6.tar.bz2%7C4722143%7C34A433C13B6BBC21176A18C4A12FFE64%7C/
ie:
ed2k://|file|aMule-2.2.6.tar.bz2|4722143|34A433C13B6BBC21176A18C4A12FFE64|/


annything that could help here?

me777
Logged

woutermense

  • Full Member
  • ***
  • Karma: 18
  • Offline Offline
  • Posts: 154
Re: aMule 2.2.6 on linux and amuecmd on win7
« Reply #1 on: September 04, 2010, 06:20:16 PM »

What version of Firefox are you running?
Logged

me777

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: aMule 2.2.6 on linux and amuecmd on win7
« Reply #2 on: September 04, 2010, 08:27:52 PM »

3.6.8

always newest...

Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMule 2.2.6 on linux and amuecmd on win7
« Reply #3 on: September 04, 2010, 10:12:13 PM »

Good catch, me777. Probably a security feature introduced at some point. I'll see I get amulecmd fixed so it will replace the %7c back to | .
(No idea how to simply do the replace in a Windows cmd script. I'm using Perl for anything more complex than just a few calls. )
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

me777

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 4
Re: aMule 2.2.6 on linux and amuecmd on win7
« Reply #4 on: September 04, 2010, 10:23:09 PM »

its not simple to do witout perl...
i managed after like 2 hours and some stolen code snipplets i use a bat and a vbs...

oh, and its not just the %7C its complete url-encoded, so other special chars show up as ther hexcode as well (like %20 for space)

i'll atach the scrips, maybe someone has a use for em...
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMule 2.2.6 on linux and amuecmd on win7
« Reply #5 on: September 04, 2010, 10:58:21 PM »

I've fixed amulecmd and attached a 2.2.6 exe for 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