You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I use julia in a MS Windows enviroment behind a corporate proxy. On some tests with Blink i mentioned a problem with download_cmd in BinDeps. Our proxy replied an error 407 for proxy authentication.
After changing in function download_cmd the elseif branch for elseif endswith(string(downloadcmd), "powershell") with this code return `$downloadcmd -NoProfile -Command "\$wc=(new-object net.webclient);\$wc.UseDefaultCredentials = \$true; \$wc.Proxy.Credentials = \$wc.Credentials; \$wc.DownloadFile(\"$url\", \"$filename\")"`
it worked for me.
Hi,
I use julia in a MS Windows enviroment behind a corporate proxy. On some tests with Blink i mentioned a problem with download_cmd in BinDeps. Our proxy replied an error 407 for proxy authentication.
After changing in function
download_cmd
the elseif branch forelseif endswith(string(downloadcmd), "powershell")
with this codereturn `$downloadcmd -NoProfile -Command "\$wc=(new-object net.webclient);\$wc.UseDefaultCredentials = \$true; \$wc.Proxy.Credentials = \$wc.Credentials; \$wc.DownloadFile(\"$url\", \"$filename\")"`
it worked for me.
Please check if this adaption is suitable for other users, aswell.
Source Stackoverflow : PowerShell, Web Requests, and Proxies
Gerald
The text was updated successfully, but these errors were encountered: