need help: system.method.set_key = event.download.finished,

somus1735

Member
May 25, 2018
833
0
16
Hi!

Please help smiley.gif. I'm lost, tried everything.

I get: Download event action failed: Bad return code.
Used: log.execute = /home//rtorrent.log but comes up empty...

I using in rtorrent.rc: system.method.set_key = event.download.finished,upload_torrent,"execute=/home//upload.pl,$d.get_name="

the upload.pl:

my $aaa = $ARGV[0];

Can anyone spot the problem? I've changed my $aaa to many things, and still doesn't work.

Cheers.
 

shwetha17

Member
May 24, 2018
785
0
16
Try it like this

system.method.set_key = event.download.finished,upload_torrent,"execute={/home/upload.pl,$d.get_name=}"
 

somus1735

Member
May 25, 2018
833
0
16
Hi I used: system.method.set_key = event.download.finished,upload_torrent,"execute={/home/user/upload.pl,$d.get_name=}"

and still got: Download event action failed: Bad return code.

Are you sure there isin't a problem between $d.get_name= and my $name = $ARGV[0];
 

shwetha17

Member
May 24, 2018
785
0
16
State the software versions you use.

Also, make sure the Perl script works from the shell.