On Fri, 2 Apr 2004 12:11:36 +1000, Tony Morris wrote:
> "Covington Bradshaw" <> wrote in message
....
>> How do I add an empty dir to a Zip file programmatically
...
> I have a reasonable suspicion that a zip archive cannot contain an empty
> directory entry.
My response was based on a (vague) memory
of trying to do just that, and failing.
(AFAIR, I was iterating through a directory
structure copying every file/directory to
a zip - only the 'non-empty' directories
made it)
> You might be able to back this up with a more formal specification of the
> zip archive format.
That is the best idea so far.
--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology