ZipFile.CreateFromDirectory() looks like working, but zip file size is smaller than expected one.

WB_78 0 Reputation points

Hi, I made a C# progrm which make a zip file, and save it to spedific folder on another drive.

Yes, it's back up program.

Zipping is taken in another independent thread.

My program created zip file when the time is on my setup exactly.

Problem is that some data is missed.

If target foler has 14files, and total is 12MB.

When I unzip the created file, it has 14 files, but totla is not 12MB.

Total is 9MB something.

Is there anyone who have simmaler issue I have?

Microsoft Technologies based on the .NET software framework.
3,352 questions
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,216 questions
{count} votes