Hello nginx users,

i see there is a new lua-module for nginx-lua, the lua-resty-upload module. Compiling the
HttpUploadModule ends sometimes (new version of nginx) in errors, so i consider to use
lua-resty-upload module because i use some lua functions already.

I am not so confirm with lua, and see, that lua can write the upload data (images in my
case) to a directory. (linke in the example) The HttpUploadModule sends uploaded files to
a backend script (in my case php) which works great. What about the lua-resty-upload
module? Can i send the file to a php script? Perhaps base64 encoded or whatever...

The documentation says:

>> Instead of writing the data chunk into files (as shown in the example above), you can also
>> write the data chunks to upstream cosocket connections if you do not want to save the data on
>> local file systems.

Can someone explain what this exactly means? Or better, is there a example where i can see the
workflow of such a upstream cosocket upstream?

Kind regards

Alina
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to