Unzipping with Directories

Unzipping with Directories

Postby fraserbooth on Wed Mar 27, 2002 8:07 am

Is it possible to recurse directories when unzipping like I can when zipping? If so what lines of asp code do I need to add?

Thank-you for your help,


Posts: 1
Joined: Wed Mar 27, 2002 8:04 am
Location: United Kingdom

Postby John on Wed Mar 27, 2002 5:22 pm

Yes, just follow this example, the most important thing is the extrOptions, with 1 you set to extract all recursive directories. See documents to get more information.

dim ZIP

set ZIP = server.createobject("aspZip.EasyZIP")

Zip.Debug = true
Zip.ZipFileName = "c:inetpubwwwroot est_dir est.zip"
Zip.ExtrBaseDir = "c:inetpubwwwroot est_dir"
Zip.ExtrOptions = 1

John Lohmeyer
Posts: 1313
Joined: Wed Oct 31, 2001 10:23 am
Location: Spain

Return to Zip

Who is online

Users browsing this forum: No registered users and 1 guest


Fatal error: Not able to open ./cache/data_global.php in D:\Hosting\6480136\html\ForosBB3\includes\acm\acm_file.php on line 106