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

upload.sh: minor changes #947

Merged
merged 1 commit into from
Jan 19, 2022
Merged

upload.sh: minor changes #947

merged 1 commit into from
Jan 19, 2022

Conversation

EricClaeys
Copy link
Collaborator

Moved some code only used by FTP protocol into that section.
For debugging, added $TEMP_NAME to debug output. On very slow networks it's possible for multiple lftp's to be happening at once, which can cause problems. Adding $TEMP_NAME helps debug that. Really should only allow one lftp per file, e.g., one for "image.jpg".
If a password has "!!" in it, it's interpreted as shell job history, so use "set +H" to turn that off. Really want to disable ALL special character processing in ${REMOTE_PASSWORD}, but don't know how.

Moved some code only used by FTP protocol into that section.
For debugging, added $TEMP_NAME to debug output.  On very slow networks it's possible for multiple lftp's to be happening at once, which can cause problems.  Adding $TEMP_NAME helps debug that.  Really should only allow one lftp per file, e.g., one for "image.jpg".
If a password has "!!" in it, it's interpreted as shell job history, so use "set +H" to turn that off.  Really want to disable ALL special character processing in ${REMOTE_PASSWORD}, but don't know how.
@linuxkidd linuxkidd merged commit 87313f6 into master Jan 19, 2022
@EricClaeys EricClaeys deleted the upload.sh branch January 21, 2022 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants