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:
http://forum.nginx.org/read.php?2,247462,247462#msg-247462

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: http://wiki.nginx.org/HttpUploadModule ?

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:
http://forum.nginx.org/read.php?2,247462,247490#msg-247490

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

Thanks

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,247462,247491#msg-247491

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs