Groovy: Simple file download from URL – Fixed
Monday, April 26th, 2010The Grails app I’m working on right now has some cookbook code that takes a list of URLs and downloads the file each URL points to into a staging directory for other code to work on them. There are a couple dozen similar examples on groovy/grails blogs on the net: def downloadFiles = { sourceUrls-> [...]