Execute Plug-in auto upload
Posted: Sun Sep 30, 2018 4:49 pm
hello everyone,
i have this script:
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?
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