Skip to content

Commit

Permalink
Code & Features Update
Browse files Browse the repository at this point in the history
  • Loading branch information
nathaneltitane committed Jan 8, 2025
1 parent 0ac50a3 commit 47ff81e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion frobulator
Original file line number Diff line number Diff line change
Expand Up @@ -2852,6 +2852,13 @@ frobulator.http () {

# 511 network authentication required: network authentication required

url_status_type="${1}"

if [ -z "${url_status_type}" ]
then
url_status_type="url"
fi

url="${@}"

http_code="%{http_code}\n"
Expand Down Expand Up @@ -3036,7 +3043,7 @@ frobulator.download () {

for file in ${list[@]}
do
url_status=$(curl --silent --output "${sink}" --write-out "${http_code}" --location "${url}/${file}" | tail -n 1 | cut -d ':' -f 1)
frobulator.http file "${url}/${file}"

frobulator.status

Expand Down

0 comments on commit 47ff81e

Please sign in to comment.