aMule Forum
English => aMule Help => Topic started by: bidnet on February 14, 2010, 06:16:26 PM
-
Hi, I followed the guide about handling ed2k link using Firefox and everything was ok!! Now I'm trying to handle ed2k link remotely (on a server) so wrote a little script:
Code:
#! /bin/bash
amulecmd -h my_server_ip -P ext_pass_connec_ -c "Add $1"
Naturally, now network.protocol-handler.app.ed2k points to the script you can see above (the script is executable: chmod +x)
My problem is that it does not work :-(
It works only if I open terminal and write the line with a normal ed2k link rather than $1.
Can anyone help me ??
Thans in advance
-
What's inside $1 ? If there are additional " it wont work.
-
I $1 is the ed2k link send by firefox.
I try with and without ", it doesn't work better.
-
Not exactly what I meant, just add the line
echo $1
in the script and tell what it says