diff --git a/scripts/up b/scripts/up index 632a26a..36a2dc8 100755 --- a/scripts/up +++ b/scripts/up @@ -220,11 +220,11 @@ then # File password [ ! $FILEPASSWORD = "$UNSET" ] && ARGS+=("-F" "filepwd=$FILEPASSWORD") # Add files - for PATH in "${FILES[@]}" + for FPATH in "${FILES[@]}" do FULLURL="$URL" [ ! "$GETPATH" = "$UNSET" ] && FULLURL+="$GETPATH" - FULLURL+="/$USERNAME/$FILES" + FULLURL+="/$USERNAME/$FPATH" ARGS+=("$FULLURL") done else