Results 1 to 4 of 4
  1. #1
    drizatt is offline Member
    Join Date
    Jul 2009
    Posts
    2
    Rep Power
    0

    Unhappy Need Help: Java SE Tips - How to create a download manager in Java

    Hello, I have implemented the java download manager exampled in this site. With some modifications I have enabled it with Webstart and an option to load multiple files at once via the JNLP file.

    Given all that, it's still essentially the same application. My problem is that if I pause and restart some downloads, the downloads will sometimes break. MOST often, if the last or 3rd file in the list gets paused, it will break that file, regardless of whether or not any other file was paused. I have tested it also with about 9 files, pausing several of them, and none broke. Also several pauses/restarts on the same file seem to make it break at least sometimes. I was testing with .pdf files of various sizes.

    Hopefully someone with knowledge of this application can swing by and let me know what's going on here. Was the application not designed with multiple concurrent downloads in mind? If not, how would I alter the code to make that happen?

    I've tried changing the code so that instead of killing the thread that holds the download it merely makes it wait in a section of the while loop until the status goes back to download from pause. Didn't really change anything.


    the link to the original code is in the trackback

    Thanks in advance to anyone who might know something!
    Last edited by drizatt; 07-17-2009 at 10:48 PM. Reason: alter post title

  2. #2
    drizatt is offline Member
    Join Date
    Jul 2009
    Posts
    2
    Rep Power
    0

    Default

    nobody has messed with this code?

  3. #3
    Join Date
    Sep 2014
    Posts
    1
    Rep Power
    0

    Default Re: Need Help: Java SE Tips - How to create a download manager in Java

    once send me code , i will checkit

  4. #4
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,979
    Rep Power
    5

    Default Re: Java SE Tips - How to create a download manager in Java

    No you won't, this thread is 5 years old.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. java ebooks download
    By ramkumar123 in forum Reviews / Advertising
    Replies: 2
    Last Post: 11-07-2008, 10:20 AM
  2. How to create a customized layout manager
    By Java Tip in forum javax.swing
    Replies: 0
    Last Post: 06-26-2008, 07:41 PM
  3. how to download using java
    By leonard in forum Advanced Java
    Replies: 1
    Last Post: 08-06-2007, 05:36 PM
  4. Help with download java api
    By fernando in forum New To Java
    Replies: 1
    Last Post: 08-06-2007, 02:36 AM
  5. Report manager to Java
    By bbq in forum New To Java
    Replies: 2
    Last Post: 07-04-2007, 07:51 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •