Forum Discussion

raphahlelot's avatar
raphahlelot
New Contributor
12 months ago

Download Multiple files/ or view in the browser

how can i download multiple files using a rest get where by in the url i passed split values of different files, the response shows there are four files however when executing the pipeline as triggered task , only the first file gets downloaded     

this is the final out put of the mapper  

2 Replies

  • Hello raphahlelot,

    The trigger task will return only the first output from your last snap in the pipeline.

    I'm not sure, but can you try using the Multipart Writer Snap as the last snap? This might require to tweak the response content type and the response handling.

    This should combine all of the inputs to a single output.

    Please let me know once you try this approach.

    Regards,

    Aleksandar.

    • raphahlelot's avatar
      raphahlelot
      New Contributor

      Thanks for the reply, tried the Multipart Writer Snap, and also tweaked the response and content type however when I run it on postman or the browser i get the following with a 200 success