Download an image file

download_pic(url, file)

Arguments

url
The URL of the image to download
file
The file to which the image will be written

Details

Just a wrapper around GET with several checks to make downloads more likely / robust.