Is there any method to extract zip files and maintain the same folder structure in the output folder.I am able to extract the zip file and its inner files but not able to extract folder from a zip file and thus fail to maintain folder structure also.
A:
You are able to extract the zip file in flex? What are you using to do this? Is it a third-party tool? knowing this would help us give you a better answer.
Ryan Guill
2009-03-25 12:49:20
+1
A:
Yes.
There is an AS3 component that allows you to read and write data from zip files, and the demo also shows that it is possible to see the folder structure.
http://www.nochump.com/blog/?p=15
I have not used this component myself, but if I am correct in assuming that you are making an AIR application then this component may automatically generate folders, otherwise you can use the file system api to create the correct folders yourself.
Good Luck!
Gdeglin
2009-03-27 10:19:42
I would suggest this library instead: http://code.google.com/p/aszip/
Mondain
2010-09-07 01:08:31