5

How to download and unpack .ZIP folder using Adobe Air? So I have http link onto that zip file example.com/zip.zip I need a function to download it onto users hard drive and unpack it into some folder on filesystem.

How to do such thing? (code example, please)

Josh Lee
  • 171,072
  • 38
  • 269
  • 275
Rella
  • 65,003
  • 109
  • 363
  • 636

1 Answers1

5

FZip is an Actionscript 3 class library to load, modify and create standard ZIP archives.FZip parses ZIP archives progressively, allowing access to contained files while the archive is loading.

abmv
  • 7,042
  • 17
  • 62
  • 100
  • In case anyone comes back here looking for answers FZip seems to have merged with the AS3 Commons library http://www.as3commons.org/as3-commons-zip/. I've been able to use this to zip local files, but I've been running into issues where it sometimes get stuck when you do a file load and Event.COMPLETE never fires. Doing the opposite however, is what this is about. API Docs here http://www.as3commons.org/as3-commons-zip/asdoc/index.html. I haven't found many cookbook style examples. – Mark Mar 26 '14 at 15:01