Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post data.sh img dir bug #556

Merged
merged 3 commits into from
Oct 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion scripts/ftp-settings.sh.repo
Original file line number Diff line number Diff line change
Expand Up @@ -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/'

Expand Down
2 changes: 1 addition & 1 deletion scripts/postData.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
EricClaeys marked this conversation as resolved.
Show resolved Hide resolved