Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
ZIP (file format)
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== Central directory file header (CDFH) ==== The central directory file header entry is an expanded form of the local header: {|class="wikitable" |+ Central directory file header |- ! Offset !! Bytes !! Description<ref name="appnote"/> |- | 0 || 4 || Central directory file header signature = 0x02014b50 |- | 4 || 2 || Version made by |- | 6 || 2 || Version needed to extract (minimum) |- | 8 || 2 || General purpose bit flag |- | 10 || 2 || Compression method |- | 12 || 2 || File last modification time |- | 14 || 2 || File last modification date |- | 16 || 4 || CRC-32 of uncompressed data |- | 20 || 4 || Compressed size (or 0xffffffff for ZIP64) |- | 24 || 4 || Uncompressed size (or 0xffffffff for ZIP64) |- | 28 || 2 || File name length (''n'') |- | 30 || 2 || Extra field length (''m'') |- | 32 || 2 || File comment length (''k'') |- | 34 || 2 || Disk number where file starts (or 0xffff for ZIP64) |- | 36 || 2 || Internal file attributes |- | 38 || 4 || External file attributes |- | 42 || 4 || Relative offset of local file header (or 0xffffffff for ZIP64). This is the number of bytes between the start of the first disk on which the file occurs, and the start of the local file header. This allows software reading the central directory to locate the position of the file inside the ZIP file. |- | 46 || ''n'' || File name |- | 46+''n'' || ''m'' || Extra field |- | 46+''n''+''m'' || ''k'' || File comment |}
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)