cancel
Showing results for 
Search instead for 
Did you mean: 

How to create temporary directory before storing data into SLDB

Parex122334
New Contributor III

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 3

Aleksandar_A
Contributor III

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.

Parex122334
New Contributor III

Thanks @Aleksandar_A

 

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 🙂