我试过在命令行中使用该选项,也在 aria2.conf 文件中使用过。但它只是在完成 torrent 下载时不执行 on-download-complete shell 文件。我以 root 身份运行 aria2c,以 root 身份创建了 shell 脚本,但是没有用。我创建了一个新用户并使用该用户运行 aria2c 并用它创建了一个 shell 脚本,但这不起作用。是否有日志可以检查为什么 aria2c 在下载完成后不运行我的 shell 脚本?
命令行选项:
aria2c --torrent=1.torrent --on-download-complete=/home/myself/run.sh
有什么建议么?我在 CentOS 5.5 和 Ubuntu 11.04 上试过这个。如果没有其他可能的解决方案,是否有任何其他适用于 linux 的命令行 torrent 客户端可以在下载完成后将参数发布到 shell 脚本(最好是 php 文件)?