File Merger


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: File Merger

  1. #1
    Join Date
    Jan 2006
    Posts
    5

    Lightbulb File Merger

    Hello brothers and sisters i have developed a download manager in java working fine but now i want my download manager to be able to download files in multiple threads and it does so . The problem now is to combine the files so that it just gives the orignal file . Can any body help on this problem i will be thankful .
    REQUIRED : FILE MERGER IN JAVA.

  2. #2
    Join Date
    Mar 2004
    Posts
    635
    Create a new temp file, then write out the bytes to it from each file part in proper sequence.

  3. #3
    Join Date
    Jan 2006
    Posts
    5
    can u explain please i am sick of working on this project man but how to read the bytes from a file simultaneosly please explain

  4. #4
    Join Date
    Jul 2005
    Location
    the Netherlands
    Posts
    128
    Quote Originally Posted by shamshami
    can u explain please i am sick of working on this project man but how to read the bytes from a file simultaneosly please explain
    Reading both your files like this:
    http://javaalmanac.com/egs/java.io/R...sFromFile.html

    and then write them both to one file like this:
    http://javaalmanac.com/egs/java.io/WriteToFile.html

Similar Threads

  1. Database not properly created
    By Arjuna in forum Database
    Replies: 2
    Last Post: 07-25-2007, 03:22 AM
  2. Unzip a file thru VB 6.0
    By Sinni in forum VB Classic
    Replies: 9
    Last Post: 04-20-2005, 10:09 AM
  3. Either Overwrite or Rename file
    By Shaitan00 in forum Java
    Replies: 1
    Last Post: 04-06-2005, 06:04 AM
  4. Test a file to see if it's open
    By JohnN in forum VB Classic
    Replies: 12
    Last Post: 05-08-2001, 04:25 PM
  5. opening word doc, excel file etc
    By Sanjeev in forum ASP.NET
    Replies: 1
    Last Post: 11-16-2000, 01:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center