diff --git a/scripts/ftp-settings.sh.repo b/scripts/ftp-settings.sh.repo index 35184d7f3..dc800b266 100755 --- a/scripts/ftp-settings.sh.repo +++ b/scripts/ftp-settings.sh.repo @@ -5,8 +5,10 @@ PROTOCOL='ftp' USER='username' PASSWORD='password' HOST='example.com' -IMGDIR='/allsky/' +IMGAGE_DIR='/allsky/' +IMGDIR="${IMGAGE_DIR}" # for backwards compatibility - will be removed in the future VIDEOS_DIR='/allsky/videos/' +MP4DIR="${VIDEOS_DIR}" # for backwards compatibility - will be removed in the future KEOGRAM_DIR='/allsky/keograms/' STARTRAILS_DIR='/allsky/startrails/' diff --git a/scripts/postData.sh b/scripts/postData.sh index d55af756f..dd53789b9 100755 --- a/scripts/postData.sh +++ b/scripts/postData.sh @@ -32,4 +32,4 @@ OUTPUT_FILE="${ALLSKY_TMP}/${FILE}" ) > "${OUTPUT_FILE}" # PD == Post Data -"${ALLSKY_SCRIPTS}/upload.sh" --silent "${OUTPUT_FILE}" "${IMG_DIR}" "${FILE}" "PD" +"${ALLSKY_SCRIPTS}/upload.sh" --silent "${OUTPUT_FILE}" "${IMGDIR}" "${FILE}" "PD"