bugmldonkey, a multi-networks file-sharing client - Bugs: bug #16615, Exception when trying to execute...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #16615: Exception when trying to execute file_complete_cmd

Submitted by:  Gufo <gufo>
Submitted on:  Wed 17 May 2006 05:39:16 PM UTC  
 
Category: CoreSeverity: 3 - Normal
Item Group: Program malfunctionStatus: Invalid
Assigned to: NoneOpen/Closed: Closed
Release: 2.7.5Release: 2.7.5
Operating System: LinuxBinaries Origin: CVS / Self compiled
CPU type: Intel x86

Wed 17 May 2006 06:13:49 PM UTC, comment #1:

The correct syntax is:

file_completed_cmd = "/mnt/spazio/.mldonkey/completed.sh"

$3 has to be used inside your script.

spiralvoice <spiralvoice>
Project Administrator
Wed 17 May 2006 05:39:16 PM UTC, original submission:

I'm trying to execute a command when a file is downloaded.
I set the file_competed_cmd variable through sancho from a remote machine, in downloads.ini i have:

file_completed_cmd = "/mnt/spazio/.mldonkey/completed.sh $3"

Which is the command i whant to execute.
Mlnet was restarted after setting this variable.
The previous command was "chmod g+w $3" and the previous again was "chmod +g $FILENAME" but all lead to the same result in the log:

Exception execve failed on /mnt/spazio/.mldonkey/completed.sh $3: No such file or directory while starting file_completed_cmd

Is it a bug? Or do i misinterprete the meaning of file_completed_cmd?

Gufo <gufo>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Thu 25 May 2006 04:13:05 PM UTCspiralvoiceOpen/ClosedOpen=>Closed
Wed 17 May 2006 06:13:49 PM UTCspiralvoiceStatusNone=>Invalid

Back to the top


Powered by Savane 3.1-cleanup1