Delete temp upload files at the end of the request?

Hi

With the upload module, is the uploaded file supposed to be removed
automatically at the end of the request? That is, the file that has just
been uploaded and stored in upload_store. I think I saw some behaviour
of
the files disappearing at the end of a request, but now I don’t get that
any
more.

Thanks!

Posted at Nginx Forum:

On Wed, Feb 12, 2014 at 10:36:39AM -0500, kate_r wrote:

Hi there,

With the upload module, is the uploaded file supposed to be removed
automatically at the end of the request? That is, the file that has just
been uploaded and stored in upload_store. I think I saw some behaviour of
the files disappearing at the end of a request, but now I don’t get that any
more.

There’s possibly a directive to determine whether the file is
automatically removed or not.

What does the documentation say?

Is this the one you are using: Upload | NGINX ?

f

Francis D. [email protected]

Yes, this is the one I use - but I can’t find it in the documentation.

Thanks

Posted at Nginx Forum:

I guess upload_cleanup 200 is relevant here. I’ll give that a try.

Thanks

Posted at Nginx Forum: