Read a zip file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-28-2018 10:15 AM
Hello all,
I have a requirement where: I am getting a response from a REST GET as a ZIP file.
I need to extract out this zip file.Can anyone suggest me a way to do so.
Thanks.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-29-2018 07:17 AM
Does the decompress snap not work for you?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-29-2018 09:41 AM
You can extract the contents of a ZIP file with the ZipFile Read Snap. Note that the snap reads the file from a location and doesn’t take it as an input from the upstream snap. If the request you’re doing is to a URL, it might work fine. Otherwise, you might need to write the output of the REST GET to a temporary file before reading it into the ZipFile Read snap.
The Decompress snap is for stream compression, like GZIP/BZIP2, not compressed archives, like ZIP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-03-2021 03:58 PM
We have a similar situation, we are making REST POST request and getting back zip in response. I want to rename files (files which we get after extracting zip file). Is there a way, we can perform this task without writing the file to the temporary location?
Thanks.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-02-2022 09:49 PM
canvas 05_2022_12_03.slp (6.4 KB)
