Execute Plug-in auto upload

Suggest, post, or discuss plugins for Deluge
televi
New User
New User
Posts: 1
Joined: Sun Sep 30, 2018 4:25 pm

Execute Plug-in auto upload

Postby televi » Sun Sep 30, 2018 4:49 pm

hello everyone,

i have this script:

Code: Select all

#!/bin/bash
torrentid=$1
torrentname=$2
torrentpath=$3
echo "Torrent Details: " "$torrentname" "$torrentpath" "$torrentid"  >> /home/deluge/log.txt
echo "Torrent Details: " "$torrentname" "$torrentpath" "$torrentid"  >> $torrentpath/$torrentname/log.txt


but for some reason its not sending the file to my ftp. Has no issue writing the first log.txt but why is it not writing the second log.txt? what am i doing wrong?

Cas
Top Bloke
Top Bloke
Posts: 3642
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Execute Plug-in auto upload

Postby Cas » Mon Oct 01, 2018 9:51 am

Could be permissions or path needs quoting?


Return to “Plugins”

Who is online

Users browsing this forum: No registered users and 3 guests