posted 9 years ago
Hi All,
I would like to zip a docx directory structure.
Here's the code:
Then I write to a file the given byte array :
When I try open myDocx.docx ('a' file) I give an IO error.
If I zip the c:\Temp\DOCX_uncomp_source_dir directory content to a zip and rename to docx ('b' file), it works perfectly. I can open it.
I compare 'a' and 'b' docx content. It's ok. The number of files and (inside files) size too (! it seems) perfectly match! (I used total commander.)
But if a compare 'a' and 'b' docx file size: the 'a' file size is smaller than 'b'. (The differece is 300 bytes.)
What do I miss? What do I do wrong? Any idea?
(Sorry my bad english.)