This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

rl-arm: web form file upload problem

Hi,

I'm trying to upload a small file to the target (an MCB-STR9 board) using a web form. I can see with the debugger that the content of the file is actually uploaded (it shows up in ram), but the function cgi_process_data to handle the POST method is never called.

Anyone have an idea how to make this work?

Dave

#=====================================================================================
# ----- This is a TcpNet Script file which runs on TcpNet -------
#=====================================================================================
t <html><head><title>Communication Settings</title></head>
t <body text=#000000 BGCOLOR=#ffffff LINK=#0000FF VLINK=#0000FF ALINK=#FF0000>
t <H2 ALIGN=CENTER>Communication Settings</H2>
t <FORM METHOD=POST ENCTYPE="multipart/form-data" ACTION="comms.cgi" >
t File to upload: <INPUT TYPE=FILE NAME="upfile">

t <INPUT TYPE=SUBMIT NAME=set VALUE="Submit">
t </FORM>
t </BODY></HTML>
# This is end of script. It must be closed with period.
.

0