Groovy Simple file download from URL

Groovy - Simple file download from URL

    f proxy configuration is needed, call this:

    System.properties.putAll( ["http.proxyHost":"proxy-host", "http.proxyPort":"proxy-port","http.proxyUserName":"user-name", "http.proxyPassword":"proxy-passwd"] )


原文地址:https://www.cnblogs.com/lexus/p/2567683.html