mldonkey-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mldonkey-users] commit automatically [Feature Request]


From: Dirk Essl
Subject: Re: [Mldonkey-users] commit automatically [Feature Request]
Date: Wed, 11 Dec 2002 15:35:19 +0100

> > 'auto-commit'
> never seen this, perhaps someone can make a little patch for this ?

for the auto-commit, i now used
'file_completed_cmd = /home/mldonkey/commit'
wgile commit is a little expect-script:
<snip>
#! /usr/bin/expect -f
spawn telnet 127.0.0.1 4000
expect "Use ? for help"
send "auth PASSWORD\r"
expect "Full access enabled"
send "commit\r"
expect "commited"
send "q\r"
</snip>

This works fine for me.

> > 'after-commit-command'
> check the option 'file_completed_cmd'..

see above ;-) the file_completed_cmd is _before_ you commit the file.

-- 
dirk <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]