java - How to download a file from a server - Stack Overflow
How can I download a binary file like an mp3 from a server to a client? To download a file with Java, you can Use URL.openStream(); http://download.oracle.com/javase/tutorial/networking/urls/readingURL.html Don't print the output to System.out. Write it t...