Forum Discussion

smit66's avatar
smit66
New Contributor II
5 years ago

Take upstream file as an input for zipfile read snap

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

  • aleung's avatar
    aleung
    Contributor III

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

    • smit66's avatar
      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