Can we pull .zip file using webservice call into ensemble and unzip it
I need to pull .zip file and unzip it to access the zip files contained in the archive using the web service call. Can any one suggest is there any option for to get the zip files.
$ZF()
Instead of pkzip, you can use 7z, rar, gzip32 etc.
Thanks for the info. $zf is the command to unzip the files.
zip ≠ gzip
Hi, Vineeth!
See the sample of exporting and importing global to zip file on the fly from @Eduard Lebedyuk post:
Hope that helps.
Hi All,
I want to unzip the text files or any format (more than 50) from sFTP in windows server by using Intersystems IRIS. Can you please advise on this.
Thanks,
Arun Kumar Durairaj.
Here's an example unarchiver.
$zf(-100) can be used to call arbitrary executables, such as 7zip.
For those who are looking for unziping features, Embedded Python (for IRIS 2021.2+) allows you to use zipfile Python lib. For instance:
Or
Tested on iris-ml-community:2021.2.0.617.0-zpm
Social networks
InterSystems resources
Log in or sign up
Log in or create a new account to continue
Log in or sign up
Log in or create a new account to continue
Log in or sign up
Log in or create a new account to continue