Forum Discussion

Manigandan's avatar
Manigandan
New Contributor II
4 years ago
Solved

How to get filename from Multi Part Reader Snap?

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!
  • Manigandan's avatar
    4 years ago

    I tried this and it worked!!!

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

    Thanks Everyone.