Support FTP servers for file downloads (#850)

This commit is contained in:
Krzysztof Zdulski authored and GitHub committed 2021-04-28 16:44:39 -05:00
1 parent 7164d2b885
commit 3261fbd7e9
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ function join_by() {
function isURL() {
local value=$1
if [[ ${value:0:8} == "https://" || ${value:0:7} == "http://" ]]; then
if [[ ${value:0:8} == "https://" || ${value:0:7} == "http://" || ${value:0:6} == "ftp://" ]]; then
return 0
else
return 1