Forum Discussion

Parex122334's avatar
Parex122334
New Contributor III
2 years ago

How to create temporary directory before storing data into SLDB

Hi All,I want to send my data's to File Writer Snap.But before sending it there,we have condition to  send it in temporary directory then to File Writer.How to create Temp Directory there??.Please help me out here

3 Replies

  • Hello Parex122334,

    You can refer to the pipe.tmpDir function which provides a temporary local disk URI that you can use to temporary write the file to.

     After the Pipeline execution is complete, the contents written to the directory are deleted.

    Please let me know if this was of any help.

    Regards,

    Aleksandar.

    • Aleksandar_A's avatar
      Aleksandar_A
      Contributor III

      Did my answer provide you with a helpful insight, or you are still missing some directions? If so, please provide more information about what you are trying to achieve, so we can better understand your requirements and guide you the right way!

      Regards 🙂