Ben J
Ben J

Reputation: 1387

Are the local file entry headers in a zip file compressed along with the actual file/folder entry data?

The picture here which is linked from here gives a good overview of the zip archive structure.

What is less clear from the wikipedia entry is whether the local file headers are compressed along with their associated data (nb. if compression has indeed been used at all). Can anyone shed some light on this?

Cheers.

Upvotes: 1

Views: 509

Answers (1)

Nickolay Olshevsky
Nickolay Olshevsky

Reputation: 14160

No, local headers are not compressed. The central directory can be compressed and/or encrypted, but this seems to be supported only by PKWare and other commercial libraries (like SecureBlackbox).

Upvotes: 1

Related Questions