Simple file download from URL Add comment to Wiki View in Wiki Edit Wiki page Printable Version

This method takes a string containing the URL of the file to be downloaded. It will create a file in the current folder whose name is the same as the remote file.





If proxy configuration is needed, call this:

 



before the call.

Here is another approach using categories. The default left shift operators acts on text streams only. This category overrides the left shift operator making it a binary copy and uses the URL type as the source for the data.



 

Search

Results of your search request can come from various sources: the Groovy website itself, the JIRA issues, the API documentation, as well as a few other interesting Groovy-related blogs.

  By  -  pages  -  views  - last modified