|
From: | Trampas Stern |
Subject: | Re: [lwip-users] File post problems |
Date: | Wed, 15 Jan 2020 13:14:38 -0500 |
I am having a problem posting files to lwip server. I know the code was working and then seems to have randomly stopped working. I was wondering if anyone could help me with my problem?ThanksTrampasHere is the HTML I am using to post a file:<div class="row p-3">
<div class="col">
<p>Current Firmware Version: 1.001.2</p>
<form action="" method="post" enctype="multipart/form-data">
<div class="form-group">
<label for="" file input</label>
<input type="file" class="form-control-file" id="exampleFormControlFile1">
<br>
<button type="submit" class="btn btn-primary">Apply Update</button>
</div>
</form>
</div>
</div>It appears I receive the following on lwip server but not the file:POST /upload HTTP/1.1
Host: 192.168.72.100
Connection: keep-alive
Content-Length: 44
Cache-Control: max-age=0
Origin: http://192.168.72.100
Upgrade-Insecure-Requests: 1
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryqsRCORAbzV0VtDn5
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Referer: http://192.168.72.100/update.htm
Accept-Encoding: gzip, deflate
Accept-Language: en-US,en;q=0.9
------WebKitFormBoundaryqsRCORAbzV0VtDn5--Wireshark:
[Prev in Thread] | Current Thread | [Next in Thread] |