lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Upload large file to server with small Memory for proce


From: SUTARIYA MAHESH
Subject: Re: [lwip-users] Upload large file to server with small Memory for processing
Date: Fri, 9 Sep 2011 19:35:31 +0530

Hi,
Vincent,

Got my POST request up and working perfectly.
Thanks for you response.
I am working on Embedded system based on ARM Cortex-M3 and 8 bit microcontrollers like(AVR, PIC, LPC, 8051).I am currently running small startup company recently started and looking for work on embedded development.

What do you do?
I tried to open your website but could not anyhow.

Regards,
Mahesh

2011/8/25 vincent cui <address@hidden>

Mahesh:

 

Luckly , I have same platform with your to setup web server. The problem seems not exist.

You should program a socket send/receive thread , and open TCP tool in PC, try to find the problem is exist or not…

 

 

 

Vincent Cui
Sr.Firmware Engineer
Mobile: +8613482482211
Tel: +86 21 34612525x6104
Fax: +86 21 34619770
E-Mail: address@hidden
Shanghai EnLogic Electric Technology Co., Ltd.
Address: 1104-1106, Building A, No.391, Guiping Road, Xuhui District, Shanghai, 200233
http://www.enlogic.com

 

From: lwip-users-bounces+vincent.cui=address@hidden [mailto:lwip-users-bounces+vincent.cui=address@hidden] On Behalf Of SUTARIYA MAHESH
Sent: 2011
825 13:18
To: address@hidden
Subject: [lwip-users] Upload large file to server with small Memory for processing

 

Hi,

 

I am using lwip with FreeRTOS on Luminary Cortex-M3 platform.

 

Webserver platform: My web server is running with TCP_WND=4096 and TCP_MSS=1500, arround 8 kb of ram for my operation

 

Problem: I want to upload binary file worth 300 kb to webserver. My purpose is to process this file at Webserver and then through it.

I don't have even space on my webserver to store such a large file.I am using type=file upload method on browser side.What I want is, when I click on upload button, my browser will start uploading. Since I only have 8 kb of memory, as soon as browser send that much of data it should stop sending and wait till buffer for next data is empty. On server side I will process first 8KB bunch of data and then after(may be 0.2 second), I want to ack to browser for next bunch of data.

 

Is it possible?

 

Will it work if I set TCP_WND=4096 and TCP_MSS=1500, will it wait after  4096 byte received in buffer till buffer gets free?

 

Regards,

Mahesh

 


_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users


reply via email to

[Prev in Thread] Current Thread [Next in Thread]