Skip to main content
Participating Frequently
May 21, 2014
Question

Packaging a file within Adobe Plugin

  • May 21, 2014
  • 2 replies
  • 523 views

Dear all,

We are developing a plugin for InDesign with Extensión Builder and we are having problems when packaging the file into a .ZIP file (no compression needed) that the App crashes when those files are large +200Mb. We are using nochump zip library for this matter.

Do you have any suggestions for a good reliable library to package the files together? We don’t require compression, just to package into a single file that we will rename. As a point out those file can get as large as 1Gb.

Thank you very much!

Cesar.


This topic has been closed for replies.

2 replies

Inspiring
May 23, 2014

I don´t rellay understand what you are trying to achieve.

If you are trying to create an mxp file (which is basically a zip) from within extension builder and it crashes during compilation,

then you should pack your files manually with sth. like http://www.7-zip.org/ and rename it later to mxp

ceroAuthor
Participating Frequently
May 23, 2014

Hi Mocca,

What we are doing here is exporting a indesign file .INDD with different images and those images are being exported into a folder (this is done with no issues). Once the folder is completed with all the images exported from the indesign document we what to package it into a .ZIP file. The problem we are having is when we are making large zip files with nochump zip AS3 Zip Library Release – nochump.com

I hope this clarifies things.

Thanks!

Cesar.

Inspiring
May 23, 2014

If you are using this extension for inhouse workflow only,

you should seperate the ziping from the file collecting and instead use a specialized programm like

the one I mentioned above. From what I see the librarys you linked to are 5+ years old and probably

made with flash 9/air 1.5 as backbone

upgrading any outdated classes  inside the code will be probably be more work than its worth

maybe you could use

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/desktop/NativeProcess.html

to trigger 7-Zips command line options:

7-Zip Command-Line Examples

kglad
Community Expert
Community Expert
May 21, 2014

is this related to actionscript 3, or should this discussion be moved to the indesign (or elsewhere) forum?

ceroAuthor
Participating Frequently
May 21, 2014

An Adobe person suggested to put it up here, this is the feedback we got from him

"As for creating a
large zip from within AIR – I have not done this for quite some time but I
remember having done this in the past using AIR Native Process and standalone
zipping utilities – e.g. pkzip, or Java plus a small zipping JAR file based on
the java.util.zip package. I’ve also just come across this library online which
looks like it may be useful (http://blog.hexagonstar.com/random-accessing-zip-files-with-adobe-air/)
but I haven’t tried it out. It may be a good idea to ask in the ActionScript
forum (https://forums.adobe.com/community/flash/flash_actionscript3)
as the people there probably use ActionScript more often than I do.
"

So that is why we put it up here. Let me know if we need to move it elsewhere.

Thanks

Cesar.

kglad
Community Expert
Community Expert
May 21, 2014

no, this is good.  that explanation was needed, though.