Hello,

While I wait for FPC 2.4, which brings a much better TZipper, I am
trying to use the existing TZipper to create a zip file with the
following structure:

file1
file2
directory/file3

The problem is that it seams that the TZipper from FPC 2.2.2 will
always create a base directory in the archive, is that it? Like, if
the target file is called myfile.zip it will create the archive as:

myfile/file1
myfile/file2
myfile/directory/file3

The base directory makes the OpenDocument become corrupted in the eyes
of OpenOffice.

And I can't use FPC 2.3.1 because users of my library may have 2.2.2
installed ...

Any ideas if it's possible to avoid the base directory with the current TZipper?

Another cool possibility would be having this change merged. Any
chance? I can help testing 2.2.3

thanks,
-- 
Felipe Monteiro de Carvalho
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to