[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] file upload
From: |
Heike Lepke |
Subject: |
[lwip-users] file upload |
Date: |
Wed, 07 Mar 2007 09:10:27 +0100 |
User-agent: |
Thunderbird 1.5.0.10 (Windows/20070221) |
Hi,
I run the lwip rawAPI under OSEK. A GPRS-modem is connected via ppp and
tcp to the web. On the platform I run a little HTTP-server. All o.k.
I try now to implement a file-upload to the server with a usual upload
form like this:
<form action="receive" enctype="multipart/form-data" method="post">
select file: <br>
<input type="file" name="datafile" >
<input type="submit" value="Send">
<input type="reset">
</form>
I receive the first packet, trough tcp and to my http server, e.g.
POST /receive HTTP/1.1..Accept: image/gif, image/x-xbitmap, image/jpeg,
image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel,
application/vnd.ms-powerpoint, application/msword, application/x-icq,
*/*..Referer: http://80.187.82.178/upload..Accept-Language:
de..Content-Type: multipart/form-data;
boundary=---------------------------7d72fd1d206c6..UA-CPU:
x86..Accept-Encoding: gzip, deflate..User-Agent: Mozilla/4.0
(compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322)..Host:
80.187.82.178..Content-Length: 1586..Connection:
Keep-Alive..Cache-Control: no-cache..X-NovINet: v1.2
all o.k.
then I receive my data packets, see the added etherreal file (packets
4,5). But they are not forwarded to my http server. They get lost in the
ppp-task.
Anybody knows why???
Thanks
Heike
uploadFileToServer.cap
Description: Binary data
- [lwip-users] file upload,
Heike Lepke <=