Java – How to download a file from the Internet
This article shows you how to download a file from an URL by using the following methods : Apache Commons IO Java NIO 1. Apache Commons IO 1.1 This is still my prefer way to download a file from the Internet, simple and clean. Read the signature : org.apache.commons.io.FileUtils //int = number of milliseconds public …