Suggest, post, or discuss plugins for Deluge
televi
New User
Posts: 1 Joined: Sun Sep 30, 2018 4:25 pm
Post
by 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
Posts: 3679 Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland
Post
by Cas » Mon Oct 01, 2018 9:51 am
Could be permissions or path needs quoting?