Request: Example for working with Zip files

Steven Schveighoffer schveiguy at yahoo.com
Fri Apr 11 07:09:11 PDT 2008


"Tyro[a.c.edwards]" wrote
>I have a zip file of multiple zipfiles each containing files, folders, and 
>other zip files. I need to tunnel into the individual files buried in all 
>subarchives and folders in order to edit/insert/remove information. 
>Ultimately I'd like to do the work directly inside the zip file without 
>having to decompressing and recompressing the files. Request a 
>demonstration of how to accomplish this.
>
> Any assistance, tango or phobos, is greatly appreciated.

At least for tango, there is zip support in the VFS (virtual file system):

http://www.dsource.org/projects/tango/docs/current/tango.io.vfs.ZipFolder.html

here is some more info (not complete yet) on VFS:

http://www.dsource.org/projects/tango/wiki/ChapterVFS

-Steve 




More information about the Digitalmars-d-learn mailing list