java调用aria2_无法下载完成与aria2一起使用 (Can't get on-download-complete to work with aria2)...

2012-02-05 14:54:46

0

I've tried using the option at command line, used it in the aria2.conf file as well. But it just doesn't execute the on-download-complete shell file when it completes a torrent download. I ran aria2c as root, created the shell script as root, but didn't work. I created a new user and ran aria2c with that user and created a shell script with that too, that didn't work. Is there a log I can check on why aria2c doesn't run my shell script after the download completes?

The commandline options:

aria2c --torrent=1.torrent --on-download-complete=/home/myself/run.sh

Any suggestions? I've tried this on a CentOS 5.5 and Ubuntu 11.04. If there's no other solution possible, is there any other command line torrent client for linux that can post parameters to a shell script (preferably php file) after the download completes?

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值