cancel
Showing results for 
Search instead for 
Did you mean: 

Take upstream file as an input for zipfile read snap

smit66
New Contributor II

Hello,

I am getting a zip file from a rest request. I want to rename files (files we get after we extracting the zip). I don’t want to write the zip file in sldb and then read it using zipfile read. I want to directly use file coming from upstream in zipfile read.

Is it possible to achieve?

Thanks for your time,
Smit

2 REPLIES 2

aleung
Contributor III

zip file read can’t read from https REST endpoint but you can give this a try.

Screen Shot 2021-05-04 at 3.02.18 PM

smit66
New Contributor II

Hello,

After REST POST, I’m using multipart reader and after that I have access to content-type, content-id and content-disposition. I can’t directly use Document to Binary after REST GET.

Thanks