Bill
Bill

Reputation: 1247

zipping a file created by a progress application

Is there a way to zip/compress (with progress code) a file that I am creating with a progress application. More words words words words words.

Upvotes: 0

Views: 1670

Answers (2)

Sushil
Sushil

Reputation: 1288

try OUTPUT THROUGH zip > VALUE(File).

and to unzip it INPUT THROUGH unzip -c VALUE(file ) BINARY NO-CONVERT.

Upvotes: 1

Tim Kuehn
Tim Kuehn

Reputation: 3251

You'll need an external library for that, and then call it from the ABL language. Look for the HLC (High Level Calls) in the reference manual.

The usual tool for "light" zipping is mzip.

Be aware that not all 64-bit platform versions can make HLC calls due to limitations in their AVM binary structure being 32 bit.

Upvotes: 1

Related Questions