Welcome! Log In Create A New Profile

Advanced

Re: Nginx and uploads

agentzh
August 30, 2012 03:14PM
Hello!

On Tue, Aug 28, 2012 at 6:43 AM, Ensiferous <nginx-forum@nginx.us> wrote:
> I'm not sure you can really do what you want to. The upload module was not
> designed for this purpose. If you want to do this you either need to modify
> the source of the upload module or perhaps you can handle such logic by
> using the lua module to script what to do with the file uploads.
>

Yes! There's a lua-resty-upload library for ngx_lua that can do
non-buffered uploading:

https://github.com/agentzh/lua-resty-upload

You don't have to touch the disk at all if you prefer sending the data
chunks to the TCP/UDP backends (via cosockets) in a strict
non-buffered mode.

Best regards,
-agentzh

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx and uploads

w00t August 28, 2012 05:57AM

Re: Nginx and uploads

Ensiferous August 28, 2012 09:43AM

Re: Nginx and uploads

w00t August 28, 2012 11:02AM

Re: Nginx and uploads

Ensiferous August 29, 2012 12:51AM

Re: Nginx and uploads

VBart August 29, 2012 07:06AM

Re: Nginx and uploads

w00t August 30, 2012 06:30AM

Re: Nginx and uploads

agentzh August 30, 2012 03:14PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 213
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready