How do I find the path of the files in render?

I need the path of the pdf files that the user uploads through the form to be able to work with it but I can’t find the path to the files!


Your code would define where you want to save uploaded files. However, there is also another consideration with uploads.

Render instances have an ephemeral filesystem, meaning any file written to the instance after it has booted will be lost when it next restarts (e.g. spun down if on free instance type, next deploy, manual restart, etc.).

If you want to use file uploads on your service, you’ll need to have a persistent store, e.g. a Render Disk (which is chargeable and also requires a paid instance type) or an external service like AWS S3.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.