在flex中提取zip文件 [英] Extract zip file in flex
问题描述
是的。它允许您读取和写入zip文件中的数据,演示还显示可以看到文件夹结构。
http://www.nochump.com/blog/?p=15
我自己并没有使用这个组件,但是如果我正确地假设你正在创建一个AIR应用程序,那么这个组件可能会自动生成文件夹,否则你可以使用文件系统API来自己创建正确的文件夹。
祝您好运!
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.
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!
这篇关于在flex中提取zip文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!