[delphizip] Re: AddSeparateDirs etc

  • From: "R. Peters" <russellpeters@xxxxxxxxxxx>
  • To: <delphizip@xxxxxxxxxxxxx>
  • Date: Mon, 23 Aug 2004 11:24:18 +1000

Have tested.
AddSeparateDirs works - it forces including the names of all folders even if
empty
Also checked your other enquiries which all seemed to work as demostrated
below

Made 3 test files from same directory structure but with different options
(as given)
the last test (testS.zip) shows full directory structure
The date after the zip filename is it's date.

e:\temp\testH.zip 25/10/2001 2:29:02 AM has 11 files
"test options = [AddDirNames,AddRecurseDirs,AddZipTime,AddHiddenFiles]"
files\UnZipDLL\BCB4\UnzDll.bpr             12/06/2001 8:00:00 AM
files\UnZipDLL\UnzErr.h                    12/06/2001 8:00:00 AM
files\UnZipDLL\Version.h                   12/06/2001 8:00:00 AM
files\ZipDLL\BCB5\ZipDLL.bpr               25/10/2001 2:29:02 AM
files\ZipDLL\Crc32.c                       12/06/2001 8:00:00 AM
files\ZipDLL\ZipFile.c                     12/06/2001 8:00:00 AM
Hiddens\adler¥32.c                 Hidden  2/02/1998 2:12:36 PM
Hiddens\SortGrid.res               Hidden  31/10/2000 6:00:00 PM
Hiddens\ZCallBck.pas               Hidden  31/10/2000 6:00:00 PM
Hiddens\ZipDll.pas                 Hidden  31/10/2000 6:00:00 PM
setstring.pas                              27/11/1999 9:52:04 PM

e:\temp\testT.zip 25/10/2001 2:29:02 AM has 7 files
"test options = [AddDirNames,AddRecurseDirs,AddZipTime]"
files\UnZipDLL\BCB4\UnzDll.bpr             12/06/2001 8:00:00 AM
files\UnZipDLL\UnzErr.h                    12/06/2001 8:00:00 AM
files\UnZipDLL\Version.h                   12/06/2001 8:00:00 AM
files\ZipDLL\BCB5\ZipDLL.bpr               25/10/2001 2:29:02 AM
files\ZipDLL\Crc32.c                       12/06/2001 8:00:00 AM
files\ZipDLL\ZipFile.c                     12/06/2001 8:00:00 AM
setstring.pas                              27/11/1999 9:52:04 PM

e:\temp\testS.zip 23/08/2004 11:12:58 AM has 18 files
"test options = [AddDirNames,AddRecurseDirs,AddHiddenFiles,AddSeparateDirs]"
empty\
files\
files\UnZipDLL\
files\UnZipDLL\BCB4\
files\UnZipDLL\BCB4\UnzDll.bpr             12/06/2001 8:00:00 AM
files\UnZipDLL\UnzErr.h                    12/06/2001 8:00:00 AM
files\UnZipDLL\Version.h                   12/06/2001 8:00:00 AM
files\ZipDLL\
files\ZipDLL\BCB5\
files\ZipDLL\BCB5\ZipDLL.bpr               25/10/2001 2:29:02 AM
files\ZipDLL\Crc32.c                       12/06/2001 8:00:00 AM
files\ZipDLL\ZipFile.c                     12/06/2001 8:00:00 AM
Hiddens\
Hiddens\adler¥32.c                 Hidden  2/02/1998 2:12:36 PM
Hiddens\SortGrid.res               Hidden  31/10/2000 6:00:00 PM
Hiddens\ZCallBck.pas               Hidden  31/10/2000 6:00:00 PM
Hiddens\ZipDll.pas                 Hidden  31/10/2000 6:00:00 PM
setstring.pas                              27/11/1999 9:52:04 PM

I am sure (well reasonably sure) the the delete problem has been fixed - if
at all possible we don't leave bugs unfixed.
- Russell Peters
----- Original Message ----- 
From: "Peter Aschbacher" <peter.aschbacher@xxxxxx>
To: <delphizip@xxxxxxxxxxxxx>
Sent: Monday, August 23, 2004 12:20 AM
Subject: [delphizip] AddSeparateDirs


The TZipMaster helpfile in the TZipMaster.AddOptions topic states for
AddSeparateDirs:

"if True , add separate entries to the zip archive that will hold the name
of each directory (No data for these entries)."

Now, how can these separate entries READ from the ZIP archive, and WHERE in
the ZIP archive are these separate entries stored?

I have analyzed with a hex-editor a ZIP archive once with and once without
the AddSeparateDirs option set. There seems to be no difference, no extra
information stored in the archive with the AddSeparateDirs option set.

Could someone clarify this issue?

Regards,
Peter


-----------
To unsubscribe from this list, send an empty e-mail
message to:
  delphizip-request@xxxxxxxxxxxxx
and put the word unsubscribe in the subject.



-- 
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.262 / Virus Database: 264.6.4 - Release Date: 19/08/2004

-----------
To unsubscribe from this list, send an empty e-mail 
message to:
  delphizip-request@xxxxxxxxxxxxx 
and put the word unsubscribe in the subject.

Other related posts:

  • » [delphizip] Re: AddSeparateDirs etc