Download Manager (Console) - Online Code

Description

This a sample code to download a file from network using Java. It is console application which required atleast JDK 5 (Java Development Kit - 5). Which can be download from here. This code work on both "Direct Connection" and "Proxy Connection". To use this code you have some prior knowledge of Networking in Java. Downloaded file will be store in the directory from where you are executing the code.

For Direction Connection you have to use following code:

Source Code

import java.net.*;
import java.io.*;
import java.util.Properties;


class DownloadManager
{

    public static void main(String s[])
    {
        Download_File("http://downloadmirror.intel.com/11691/eng/chiputil.e
... (login or register to view full code)

To view full code, you must Login or Register, its FREE.

Hey, registering yourself just takes less than a minute and opens up a whole new GetGyan experience.




Comments

No comment yet. Be the first to post a comment.