Author Topic: Rejoin split zips  (Read 4948 times)

Tom

  • Newbie
  • *
  • Posts: 20
    • View Profile
Rejoin split zips
« on: December 01, 2010, 09:32:03 AM »
Hello,

is it possible to rejoin split zip files without extracting them?

Gtx,
Tom

admin

  • Administrator
  • Sr. Member
  • *****
  • Posts: 403
    • View Profile
Re: Rejoin split zips
« Reply #1 on: December 01, 2010, 10:21:58 PM »
Hi,

This is not possible in the current Zip4j functionality. But it is an interesting feature. I will work on this tomorrow and let you know as to when I can release this feature.

Regards,
Srikanth

admin

  • Administrator
  • Sr. Member
  • *****
  • Posts: 403
    • View Profile
Re: Rejoin split zips
« Reply #2 on: December 04, 2010, 02:32:33 AM »
Hi,

I have included this feature in today's build. Can you please download the latest version (1.0.8) from below link and check it.

http://www.lingala.net/zip4j/download.php

Here's how you can merge split zip files into a single zip file:

Code: [Select]
ZipFile zipFile = new ZipFile("SplitZipFile.zip");  // This is a split zip file SplitZipFile.z01,.....SplitZipFile.zip
zipFile.mergeSplitFiles(new File("merge.zip"));  // This is the zip file into which split zip files will be merged. Please make sure that this zip file does not already exist at the given path

Please let me know if you face any issues.

Regards,
Srikanth
« Last Edit: December 04, 2010, 02:34:45 AM by admin »

Tom

  • Newbie
  • *
  • Posts: 20
    • View Profile
Re: Rejoin split zips
« Reply #3 on: December 09, 2010, 04:34:28 PM »
After a first test it seems to work.
Thx a lot,
Tom

hxj172

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Rejoin split zips
« Reply #4 on: February 14, 2017, 12:16:37 AM »
Hi,

Can you tell me how to use mergeSplitFiles() to merge several split zip files back to the original zip file? I have posted a new topic in the following link,

http://www.lingala.net/zip4j/forum/index.php?topic=436.0

Thanks!

RussellS

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Rejoin split zips
« Reply #5 on: April 27, 2017, 12:21:14 PM »
Hi,

Can you tell me how to use mergeSplitFiles() to merge several split zip files back to the original zip file? I have posted a new topic in the following link click here for Zcode,

http://www.lingala.net/zip4j/forum/index.php?topic=436.0

Thanks!

Is there an easy way to merge split files these days? It's taking me ages to do it manually.
« Last Edit: September 08, 2017, 11:21:43 AM by RussellS »

 


Warning: Cannot modify header information - headers already sent in /home/content/66/5374066/html/zip4j/forum/Sources/Errors.php on line 346

Warning: Cannot modify header information - headers already sent in /home/content/66/5374066/html/zip4j/forum/Sources/Errors.php on line 347

Warning: Cannot modify header information - headers already sent in /home/content/66/5374066/html/zip4j/forum/Sources/Errors.php on line 348

Warning: Cannot modify header information - headers already sent in /home/content/66/5374066/html/zip4j/forum/Sources/Errors.php on line 351

Warning: Cannot modify header information - headers already sent in /home/content/66/5374066/html/zip4j/forum/Sources/Errors.php on line 352

Warning: Cannot modify header information - headers already sent in /home/content/66/5374066/html/zip4j/forum/Sources/Errors.php on line 353
Connection Problems

Connection Problems

Sorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later.