2021-09-21 04:39 PM
We have a custom board with an STM32F407 on it. I used CubeMX to create the project and enabled HTTPD. I used the example LwIP_HTTP_Server_Netconn to get a webserver running. I have a few pages working including a dynamic page. Next step was to create a page that would allow the user to Submit a file to upload to the webserver. I used the In Application Programming example for the STM324xG_EVAL board to get ideas on how to do this. The big difference is that it does not use netconn... Everything is fine until I press submit on the page, then the following happens:
I am a newbie to LWIP and webservers. I have found it near impossible to find good tutorials on how this stuff works. Any help would be appreciated :grinning_face:
Mike.
Solved! Go to Solution.
2021-10-06 03:39 PM
I figured this out. The code I started with closed the connection after every receipt of data. The connection must be kept open during the entire POST.
Mike.
2021-10-06 03:39 PM
I figured this out. The code I started with closed the connection after every receipt of data. The connection must be kept open during the entire POST.
Mike.