Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / January 2006

Tip: Looking for answers? Try searching our database.

Help required

Thread view: 
pepsi_kkhh@yahoo.com - 20 Jan 2006 11:03 GMT
i am in beginning stage of java programming, i would like to develop a
java download manager which downloads a file at a particular url by
using 2 or 3 simaltaneous streams, please help me how to approach this
problem, i would like to know how to make this feasible and succesfull.
please help me out, i need this for my curriculam project.

Amigo
Chris Smith - 20 Jan 2006 15:13 GMT
> i am in beginning stage of java programming, i would like to develop a
> java download manager which downloads a file at a particular url by
> using 2 or 3 simaltaneous streams, please help me how to approach this
> problem, i would like to know how to make this feasible and succesfull.
> please help me out, i need this for my curriculam project.

Sounds like you want to look into threads and the java.net.URL class.  
First, though, you should make sure you have a solid grounding in the
language itself.

Signature

www.designacourse.com
The Easiest Way To Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation

Roedy Green - 20 Jan 2006 22:48 GMT
>i am in beginning stage of java programming, i would like to develop a
>java download manager which downloads a file at a particular url by
>using 2 or 3 simaltaneous streams, please help me how to approach this
>problem, i would like to know how to make this feasible and succesfull.
>please help me out, i need this for my curriculam project.

I suspect that would not get you the file any faster.  You use
multiple streams to download multiple files.
There is a single stream download utility part of the FileTransfer
classes.  See http://mindprod.com/products1.html#FILETRANSFER.

Then modify that to allow download of a chunk of the file. then add
your threads. Read up on http protocol. See
http://mindprod.com/jgloss/http.html
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.