julia> cd(βC:\Users\vhaglasmithdi\tempβ)
julia> using Downloads
julia> url = βhttps://github.com/JuliaBinaryWrappers/GR_jll.jl/releases/download/GR-v0.57.2+0/GR.v0.57.2.x86_64-w64-mingw32-cxx11.tar.gzβ
βhttps://github.com/JuliaBinaryWrappers/GR_jll.jl/releases/download/GR-v0.57.2+0/GR.v0.57.2.x86_64-w64-mingw32-cxx11.tar.gzβ
julia> open(βout.stdoutβ, βwβ) do sout
open(βout.stderrβ, βwβ) do serr
redirect_stdout(sout) do
redirect_stderr(serr) do
Downloads.download(url;verbose=true)
end
end
end
end
ERROR: HTTP/1.1 302 Found (schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - The revocation function was unable to check revocation for the certificate.) while requesting https://github.com/JuliaBinaryWrappers/GR_jll.jl/releases/download/GR-v0.57.2+0/GR.v0.57.2.x86_64-w64-mingw32-cxx11.tar.gz
Stacktrace:
[1] (::Downloads.var"#9#18"{IOStream, Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Bool, String, Int64, Bool, Bool})(easy::Downloads.Curl.Easy)
@ Downloads C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:356
[2] with_handle(f::Downloads.var"#9#18"{IOStream, Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Bool, String, Int64, Bool, Bool}, handle::Downloads.Curl.Easy)
@ Downloads.Curl C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Downloads\src\Curl\Curl.jl:60
[3] #8
@ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:298 [inlined]
[4] arg_write(f::Downloads.var"#8#17"{Base.DevNull, Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Bool, String, Int64, Bool, Bool}, arg::IOStream)
@ ArgTools C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\ArgTools\src\ArgTools.jl:112
[5] #7
@ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:297 [inlined]
[6] arg_read
@ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\ArgTools\src\ArgTools.jl:61 [inlined]
[7] request(url::String; input::Nothing, output::IOStream, method::Nothing, headers::Vector{Pair{String, String}}, timeout::Float64, progress::Nothing, verbose::Bool, throw::Bool, downloader::Nothing)
@ Downloads C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:296
[8] (::Downloads.var"#3#4"{Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Nothing, String})(output::IOStream)
@ Downloads C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:209
[9] arg_write(f::Downloads.var"#3#4"{Nothing, Vector{Pair{String, String}}, Float64, Nothing, Bool, Nothing, String}, arg::Nothing)
@ ArgTools C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\ArgTools\src\ArgTools.jl:101
[10] #download#2
@ C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.6\Downloads\src\Downloads.jl:208 [inlined]
[11] (::var"#12#16")()
@ Main .\REPL[29]:5
[12] redirect_stderr(f::var"#12#16", stream::IOStream)
@ Base .\stream.jl:1224
[13] #11
@ .\REPL[29]:4 [inlined]
[14] redirect_stdout(f::var"#11#15"{IOStream}, stream::IOStream)
@ Base .\stream.jl:1224
[15] #10
@ .\REPL[29]:3 [inlined]
[16] open(::var"#10#14"{IOStream}, ::String, ::Vararg{String, N} where N; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Base .\io.jl:330
[17] open
@ .\io.jl:328 [inlined]
[18] #9
@ .\REPL[29]:2 [inlined]
[19] open(::var"#9#13", ::String, ::Vararg{String, N} where N; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
@ Base .\io.jl:330
[20] open(::Function, ::String, ::String)
@ Base .\io.jl:328
[21] top-level scope
@ REPL[29]:1
julia>