Home/Support/Support Forum/multipart/form-data
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

multipart/form-data

0 votes
After some attempt it seams to me that
multipart/form-data in NET+OS CGI pages is not supported?
Code:
strcpy(buffer, "<html>"); strcat(buffer, "<head>"); strcat(buffer, "</head>"); strcat(buffer, "<body>"); strcat(buffer, "<form method=post action=CGI_File_Post enctype=multipart/form-data >"); strcat(buffer, "<input type=file name=theFile/>"); strcat(buffer, "<input type=submit value=submitfromcgi>"); strcat(buffer, "</form>"); strcat(buffer, "</body>"); strcat(buffer, "</html>");

when submitted the RpExternalCgi() is not called and no page can be returned

How do you handle binary file uploads?
asked Oct 7, 2013 in NET+OS by gavello New to the Community (16 points)

Please log in or register to answer this question.

2 Answers

0 votes
Unfortunately you will have to handle file uploads through a page generated by the pbuilder utility. Such uploads through CGI do not work.
answered Oct 7, 2013 by dakotas_dad Veteran of the Digi Community (694 points)
Thanks again you are always very helpfull!
0 votes
I pointed that out to Digi years ago, and they've never been interested in fixing it (along with other significant bugs).

:-(
answered Apr 17, 2014 by gwillits New to the Community (24 points)
...