File Attributes

Feb 11, 2009 at 8:18 PM
The external file attrs is currently only carrying an information indicating if the entry is a directory (set to 0x10) or a file (set to 0x20 which is FILE_ATTRIBUTE_ARCHIVE
Would it be possible, as does the InfoZip and I suppose Winzip, to set the other attributes :
FILE_ATTRIBUTE_READONLY
FILE_ATTRIBUTE_HIDDEN
FILE_ATTRIBUTE_SYSTEM
FILE_ATTRIBUTE_ARCHIVE
using an or operator when writing

Also, it would be great to have this information readable in the ZipDirEntry, and finally to re-set the attributes when extracting.

Anyway, many thanks for your great work.


Coordinator
Feb 12, 2009 at 4:27 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.
Coordinator
Feb 12, 2009 at 4:28 AM
Hey Foray, yes very possible,
I knew this was a gap in the current implementation, but you are the first one to ask for it!
I copied this to a workitem.