Zip File from % Stream.GlobalBinary objects
Hello!
I need to create a .zip file with several files from% Stream.GlobalBinary objects. Can someone help me?
Discussion (2)0
Comments
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.