Extracting Folders


Extracting Folders

Postby lain on Wed Dec 17, 2003 11:58 am

Hi,
Can anyone teach me how to extract folders and files together with the recent version of aspeasyZip, please? I have tried the ExtrOptions option, by setting it to one, but it seems to extract the files out only without putting them into the correct folders.

Thank you in advance.

rgrds,
Lain
lain
 
Posts: 2
Joined: Wed Dec 17, 2003 11:54 am
Location: Singapore

Postby John on Wed Dec 17, 2003 9:22 pm

You must set the ExtrOptions to 1 ( ExtrDirNames ) and specify the ExtrBaseDir for unpacking all files:

Zip.ZipFileName = Server.MapPath("test.zip")
' Extract all files
Zip.ArgsAdd("*.*")
' Which directory to extract the files
Zip.ExtrbaseDir = "c:inetpubwwwroot est_dir"
Zip.ExtrOptions = 1
Zip.UnZip
John
 
Posts: 1313
Joined: Wed Oct 31, 2001 10:23 am
Location: Spain

Postby lain on Thu Dec 18, 2003 3:28 am

I have specified the ExtrbaseDir point to the path that I want and specified the ExtrOptions option to 1, but it does not seems to work. All the files are extracted out, but not in their respective folder.
lain
 
Posts: 2
Joined: Wed Dec 17, 2003 11:54 am
Location: Singapore

Postby John on Sat Dec 20, 2003 11:16 am

I've done all the tests and is working fine for me. Please check that the ZIP file has a correct structure, check that you have latest version of aspEasyZIP.

If you could not unpack the contents with the directory structure, then please send my the ZIP file to check it on the same conditions.
John
 
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

cron

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