Access temporary files with one-off jobs?

I’m trying to do some light video processing, for which I’d like to run a one-off ffmpeg job on an uploaded video file. My code lets the user upload a temporary file to /tmp; how do I reference that file from the job? I understand persistent disks aren’t available within jobs, but is /tmp off limits too? Is there another way to run a job on a user-uploaded file? Thanks!

Hi there,

Jobs and permanent web services run on separate instances, they do not share filesystems. If you want to do this, the file should be uploaded to a shared object store, like S3 or potentially a MinIO service running on Render.

Regards,

Keith
Render Support, UTC+10 :australia: