cancel
Showing results for 
Search instead for 
Did you mean: 

Download an attachment

aspanda
New Contributor II

I have a use case to download a zip file , which is coming as an attachment through trigger task.

can someone help me to download the file and store it in snaplogic database.

Thank you

7 REPLIES 7

tstack
Former Employee

If it’s POSTed in multipart form (if it’s coming from an HTML form, for example), you can use the MultipartReader snap to extract the file for writing to disk. If the data is coming in directly, without the multipart wrapping, you can use any binary snap as the head and leave the input view unlinked. So, you could have a FileWriter be the only snap in the pipeline.

aspanda
New Contributor II

Thank You All !!

I have done the same placing only file writer.

aleung
Contributor III

It would be helpful if you can provide some screenshots of your pipeline