[delphizip] Re: BUG: No directory attribute in ZIP file

  • From: "Eric Engler" <englere@xxxxxxxxxxx>
  • To: <delphizip@xxxxxxxxxxxxx>
  • Date: Sun, 31 Mar 2002 12:11:06 -0500

I intentionally didn't want to have the ability to create hidden
directories.
That causes lots of confusion for end-users.  I get really upset if I ever
expand a zip file (using WinZip) that creates hidden directories on my
hard drive without my knowledge.

If you want to do things like that from within a program (where the user
doesn't see the archive directly), then you can set the dir attribs as you
like.

We never added a property to let you save empty dirnames.  We may do
that someday, but it is not the default action of most zip programs.

It sounds to me like you want a backup program. I have discussed this
before in this forum. There are lots of special things you need in a
backup/restore program that are not handled by Delphi Zip.

I have no plans on making this into a full-featured backup/restore
program. This is a freeware project and I don't have that much time to
invest in this!

Eric

-----Original Message-----
From: delphizip-bounce@xxxxxxxxxxxxx
[mailto:delphizip-bounce@xxxxxxxxxxxxx]On Behalf Of Sampath N
Sent: Saturday, March 30, 2002 10:34 PM
To: delphizip@xxxxxxxxxxxxx
Subject: [delphizip] BUG: No directory attribute in ZIP file


Hi ,

The directory attributes (hidden, read-only,...) are not saved in the zip
file when the zip file is created. (but the attributes for the files are
saved correctly)

So, when extracted, the original attributes the directories had are missing.
This does not give an exact copy of the original when restored.

Also, empty directories are not added to the zip file.

( ZipDLL used: Version 1.6.0.17    DelZip used: Version 1.6N )


Regards,
Sampath

Other related posts: