Skip to content

Commit

Permalink
Added suggestion for downloading with a browser.
Browse files Browse the repository at this point in the history
  • Loading branch information
proofrock committed May 14, 2024
1 parent 3f8da59 commit f79de98
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions filetunnel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,12 @@ if [ "$DO_HTTPS" -eq "1" ]; then
ADD_FLAG="k"
fi
echo "All set up, using local port $LOCAL_PORT. Now use the following command:"
echo "All set up, using local port $LOCAL_PORT."
echo "To download from a shell, use the following command:"
echo
echo "curl -OJf$ADD_FLAG $PROTO://$FILE_SERVER:$PORT/$RND"
echo
echo "Then you can close this process with ctrl-c."
echo "You can also visit the URL using a browser."
echo "After the download, you can close this process with ctrl-c."
wait "$PID1" "$PID2"
6 changes: 4 additions & 2 deletions src/filetunnel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,12 @@ if [ "$DO_HTTPS" -eq "1" ]; then
ADD_FLAG="k"
fi
echo "All set up, using local port $LOCAL_PORT. Now use the following command:"
echo "All set up, using local port $LOCAL_PORT."
echo "To download from a shell, use the following command:"
echo
echo "curl -OJf$ADD_FLAG $PROTO://$FILE_SERVER:$PORT/$RND"
echo
echo "Then you can close this process with ctrl-c."
echo "You can also visit the URL using a browser."
echo "After the download, you can close this process with ctrl-c."
wait "$PID1" "$PID2"

0 comments on commit f79de98

Please sign in to comment.