cancel
Showing results for 
Search instead for 
Did you mean: 

How to get filename from Multi Part Reader Snap?

Manigandan
New Contributor II

I am trying to expose snaplogic pipeline as an API. Whenever an excel file is received i should save it in the same name? Please can you help, thanks in advance!

1 ACCEPTED SOLUTION

Manigandan
New Contributor II

I tried this and it worked!!!

$[‘content-disposition’].substring($[‘content-disposition’].indexOf(“filename”) +10)

Thanks Everyone.

View solution in original post

1 REPLY 1

Manigandan
New Contributor II

I tried this and it worked!!!

$[‘content-disposition’].substring($[‘content-disposition’].indexOf(“filename”) +10)

Thanks Everyone.