Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1021127
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T11:15:53+00:00 2026-05-16T11:15:53+00:00

I have previously been using Chilkat Zip .Net to generate backup files from my

  • 0

I have previously been using Chilkat Zip .Net to generate backup files from my application, but after having issues with the Component, moved to Xceed Zip .Net for the same function.

If you take one of the Zips generated with the Chilkat and attempt to extract using Xceed, 7Zip, WinZip then it fails.

If you take the same file and extract with Chilkat, Windows Zip, WinRar then the file extracts just fine.

Having a read on Wikipedia about the WinZip format I investigated the Central Directory and the Local File header, and it appears that the Chilkat component has written the Central Directory record filesize incorrectly. If you use something like FRHed to edit the Central Record and make the filesize the same as the Local Header size, then everything extracts correctly.

What would you recommend I do?

  1. Write a small utility using the Chilkat library to extract the Zip and then recompress with the Xceed Library
  2. Read the Zip file looking for the Necessary Zip Markers (as defined in the Spec) and then correct the Central Header.
  3. Some other combination.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T11:15:53+00:00Added an answer on May 16, 2026 at 11:15 am

    It depends on number of backups your program generated.
    Probably, it would be easier to decompress/recompress them from program or by hands.
    However, if there is a lot of files, the better way would be to fix central directory record fields – you should write code, which
    1) searches for central directory;
    2) for each record, goes to position where local file header is stored, and read file size;
    3) go back to central directory and write valid file size there;
    4) Beware of large files, if they are – file size for files >4Gb is written in extension.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Previously for all our asp.net applications we have been using a sysadmin user within
I am new to Linq and previously have been using Ado.net classes. I want
We have been successfully using protobuf-net v1 in a compact framework application to handle
I have just upgraded from php 5.1 to 5.3 and had previously been using
I'm looking to implement a REST client in PHP, and have previously been using
I have a database with existing data, where previously I've been using AUTO_INCREMENT on
Basically, I am using Wireshark looking at captures that have been created previously. How
I previously have been reading NMEA data from a GPS via a serial port
This must have been answered previously, but my Google powers are off today and
I have been using this particular IDE (Editra) for about a year, previously it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.