What is the Correct Path to Stored Files?

This topic was automatically generated from Slack. You can find the original thread here.

Hello, does anyone know the path to stored files? I assumed it was/tmp/file name but doesnt seem to be the case

/tmp can be finicky, since workflows are automatically spun up and down to meet demand, and their filesystems wiped.

The File Store is a better option so you can have your files hosted outside of your workflow, but still accessible by code in your workflows

Thank you. I did upgrade to be able to use file store, how can we access it in a workflow?

I don’t believe you need to upgrade in order to use File Stores but I could be wrong

But you can use them in Node.js and Python

/tmp seems to work a lot better in production/deployed workflows (we use it without any problem).

In the builder, the files get erased half the time before we can even use them (workaround: just try again…).

Got it, thanks. My workflow is in python, so I think I need to create a JS step, store in tmp and then call from tmp