mr francis,
sorry for asking again. i have to make clear. i sent the file via form in browser.now i tried in browser .u have specified
upload_set_form_field above . i used that
upload_set_form_field $upload_field_name.name "$upload_file_name";
upload_set_form_field $upload_field_name.content_type "$upload_content_type";
upload_set_form_field $upload_field_name.path "$upload_tmp_path";
In the Server log i printed Field name and value .here what i got when i upload nginx.tar.gz
Field Name is file1.name Field Value is nginx.tar.gz
Field Name is file1.content_type Field Value is application/x-zip
Field Name is file1.path Field value is /home/vetriselvanm/Desktop/upload/0000000001
Now i have got the three key value pair for the file specified above.
My backend server will parse the key value pair and it will print it. for example if it recieves name=run.txt
it will print paramname ::name and paramvalue::run.txt
after the file is uploded i am receiving notification but no key=value is passed to backend .
i used upload_pass_form_field directive to pass key=value to backend .below is the directive what i used .
upload_pass_form_field "^submit$|^description$";
am i using the regex pattern correctly?or should i change it ,if i have to change? how ? give me backend handler code to parse key=value or getting the above key values which is working for u?
Thanks for the Reply