Welcome! Log In Create A New Profile

Advanced

Re: nginx-lua and nginx upload module

All files from this thread

File Name File Size   Posted by Date  
form_parser_module.lua 19.2 KB open | download Nginx User 11/26/2011 Read message
form_parser_module.lua 19.2 KB open | download Nginx User 11/26/2011 Read message
Nginx User
November 27, 2011 09:02AM
On 26 November 2011 10:36, strawman <nginx-forum@nginx.us> wrote:
> Hi all,
>
> I'm hoping to write an nginx-lua script which handles file uploads from
> the nginx upload module.  I can do this fine using an external backend
> and the upload_pass directive, but the lua module has no functionality
> for parsing the multipart form data that this generates.  I've also
> tried accessing the $upload_file_name, $upload_tmp_path etc. variables
> generated by the upload module directly, but I don't seem to be able to
> access these outside of the upload_set_form_field directive.
>
> Is there any way to get the contents of those variables into a lua
> handler in a form that can be easily parsed?

Hi,

I have been intrigued by your question and been looking at various
possible solutions but then it struck me as odd as to why you would
want to do this in the first place.

A bit of trying to step out of a potential XY Problem situation. What
is it exactly that you are trying to achieve?

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

nginx-lua and nginx upload module

strawman November 26, 2011 02:36AM

Re: nginx-lua and nginx upload module

agentzh November 26, 2011 03:10AM

Re: nginx-lua and nginx upload module Attachments

Nginx User November 26, 2011 04:18AM

Re: nginx-lua and nginx upload module

agentzh November 26, 2011 04:48AM

Re: nginx-lua and nginx upload module

Nginx User November 26, 2011 05:08AM

Re: nginx-lua and nginx upload module Attachments

Nginx User November 26, 2011 05:18AM

Re: nginx-lua and nginx upload module

strawman November 26, 2011 08:10AM

Re: nginx-lua and nginx upload module

agentzh November 26, 2011 08:18AM

Re: nginx-lua and nginx upload module

Nginx User November 26, 2011 08:26AM

Re: nginx-lua and nginx upload module

Valery Kholodkov November 26, 2011 03:16PM

Re: nginx-lua and nginx upload module

agentzh November 26, 2011 05:10PM

Re: nginx-lua and nginx upload module

Nginx User November 26, 2011 04:18PM

Re: nginx-lua and nginx upload module

Nginx User November 27, 2011 09:02AM

Re: nginx-lua and nginx upload module

Valery Kholodkov November 28, 2011 04:48AM

Re: nginx-lua and nginx upload module

agentzh November 28, 2011 04:52AM

Re: nginx-lua and nginx upload module

Valery Kholodkov November 28, 2011 05:24AM

Re: nginx-lua and nginx upload module

agentzh November 29, 2011 01:02AM

Re: nginx-lua and nginx upload module

Andrew Alexeev November 29, 2011 10:00AM

Re: nginx-lua and nginx upload module

Valery Kholodkov November 29, 2011 05:32AM

Re: nginx-lua and nginx upload module

agentzh November 29, 2011 05:52AM

Re: nginx-lua and nginx upload module

Valery Kholodkov November 29, 2011 10:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 159
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