Leonardo Weihermann · Apr 19, 2020

Zip File from % Stream.GlobalBinary objects



I need to create a .zip file with several files from% Stream.GlobalBinary objects. Can someone help me?

0 706
Discussion (2)0
Log in or sign up to continue

There two open-source projects

  • isc-tar - it's my library that works the same as tar tool in Linux, and with native support of gzip in InterSystems products you can easily compress files as tar.gz and decompress them. This project used in production as part of Package Manager project.
  • isc_zip - should work with zip files

Another possible approach:

  • copy global stream to file
  • process it using external OS call; in Linux we use its native zip/unzip utilities, in Windows - console version of popular free 7-zip tool.