Get URL Content using Java November 26, 2013 // by Krishna Srinivasan This example shows how to download a URL content to your local machine. If you look at the below example, it simply takes an URL as the input and get the content and save it to the local system. File Upload and Download Using Java