How -Remote File downloading through Java programmng

H

hnmapara

Dear friends,
I'm making download manager in J2SE.
If my pc is in LAN n this software is installed on that, then how to
download any file from the server ..?
Which are the classes n methods available to that..? How we can donload
files from server identified by IP.

in java URL class is there which establishes connection with webserver,
but
it deals with DOMAIN name ,not IP address.
How to deal with IP address?

Thanks in advance.
Harshit Mapara
 
J

James McGill

Dear friends,
I'm making download manager in J2SE.
If my pc is in LAN n this software is installed on that, then how to
download any file from the server ..?
Which are the classes n methods available to that..? How we can donload
files from server identified by IP.

Jakarta Commons has an excellent HTTPClient implementation.
http://jakarta.apache.org/commons/httpclient/

As for "dealing with IP addresses" instead of Domain names, maybe
someone else will explain that relationship to you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top