Possible Duplicate:
How do you Programmatically Download a Webpage in Java
How to download a file using java. So for example, I want to construct a program which will take some input e.g the website download. and then download the file. Please note that I am not looking for the code or anything. I just want to be pointed in the correct direction and that’s it.
If you want to download a file from a URL, have a look at java.net.URLConnection.