I want to ota update by uploading file from webserver.
here is my html code for webserver->>
Code: Select all
"<!DOCTYPE html>"
"<html>"
"<body>"
"<form action=\"/cf\" method=\"post\" enctype=\"multipart/form-data\">"
"Select image to upload:"
"<input type=\"file\" name=\"fileToUpload\" id=\"fileToUpload\">"
"<input type=\"submit\" value=\"Upload Image\" name=\"submit\">"
"</form>"
"</body>"
"</html>";
I used it with netconn_recv();