I operate on a low-power NZBGet NSA325 She has indeed enough power for a time to a cause, but also enough
with appropriate settings
NZBGet stop list after the DL DL
verifies and unpacks the download well.
that's very good, but in my case I have now download the collection on my DL NAS.
here comes back to postprocess to use FTP to move on to NSA325 to NSA310 and when successful to delete on the source NSA COLLECTION directory.
Requirement is ncftp
I have solved it...
nzbget-postprocess.conf
Code: Select all
##############################################################################
### FTP ###
# FTP copy from NZBGet to target (yes, no).
# NOTE: REQUIRED ncftp
FTP=yes
# Set here the full path for your FTP Server.
FTPDir=/admin/download/fertig/
# Put your FTP Server or ip here.
FTPServer=nsa310
# Put your FTP Username here.
FTPUser=
# Put your FTP password here.
FTPPass=
# Set it to delete the collection (yes, no).
# NOTE: Deletes all files after successful copy with FTP
FTPRM=no
insert before
Code: Select all
# All OK, requesting cleaning up of download queue
Code: Select all
############################
### BEGIN CUSTOMIZATIONS ###
############################
# FTP copy from NZBGet to target
#
if [ "$FTP" = "yes" ]; then
echo "[INFO] Post-Process: FTP transfer will start to $FTPServer...!"
if (ncftpput -d /tmp/ncftpput.log -m -DD -R -u $FTPUser -p $FTPPass $FTPServer $FTPDir $NZBPP_DIRECTORY); then
echo "[INFO] Post-Process: FTP transfer from $NZBPP_DIRECTORY to $FTPServer successful."
fi
if [ "$FTPRM" = "yes" ]; then
if (rm -rf $NZBPP_DIRECTORY); then
echo "[INFO] Post-Process: Collection $NZBPP_DIRECTORY have been deleted."
fi
fi
fi
##########################
### END CUSTOMIZATIONS ###
##########################
for troubleshooting created
Code: Select all
/tmp/ncftpput.log