MLDonkey Forum Index
Homepage •  Bugs •  Tasks •  Patches •  SF.net Project Page •  ChangeLog •  German forum •  Links •  Wiki •  Downloads
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Sending an external commend to mldonkey process

 
Post new topic   Reply to topic    MLDonkey Forum Index -> Development
View previous topic :: View next topic  
Author Message
enyone
neophyte


Joined: 30 Jan 2005
Posts: 1
Location: Finland

PostPosted: Sun Feb 06, 2005 11:36 am    Post subject: Sending an external commend to mldonkey process Reply with quote

How can I send an external command to mldonkey process?

e.g. I want to get a list of current downloads and statuses using
SSH (bash)... I don't want to start telnet connection or http-connection...

Is this possible Question

I want to create an own perl script which shows a list of
current downloads on bash.
Back to top
View user's profile Send private message
pango
Sage


Joined: 31 Oct 2002
Posts: 2436

PostPosted: Sun Feb 06, 2005 12:41 pm    Post subject: Re: Sending an external commend to mldonkey process Reply with quote

enyone wrote:
How can I send an external command to mldonkey process?

e.g. I want to get a list of current downloads and statuses using
SSH (bash)... I don't want to start telnet connection or http-connection...

Is this possible Question

How would you send commands without a connection ? Of course you need one.
That said, the connection can be carried thru ssh.

Either setup a permanent SshTunnel, and use the tunnel entry to send TelnetCommands as if the daemon was running locally;
Or, replace each "netcat" call in TelnetCommandScripts with ssh remotebox "netcat ...".
You'll probably need host key authentification so that ssh connections can be established non-interactively, especially in the 2nd case.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    MLDonkey Forum Index -> Development 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


Sourceforge.net Logo