Content originally posted in LPCWare by james on Thu Feb 23 18:50:21 MST 2012
Hi guys,
I am using lpc1768 with uIP for http GPIO controls, now I wish to upload files/firmware via a http webpage,
if possible using the <input type="file"> html tag, after surfing around the internet i cannot find how the operation work.
For GPIO controls, a function in uIP will search the URL for a certain string then grabs the parameter from it. I doubt this is the operation for file uploads.
Does uIP supports http uploads? (max filesize?) If not, any recommandations for open source tcp/ip stack? lwIP, ... ?
Where can I find information on this passing of data from the http protocol into the controller? If i can read that data into a buffer / the uIP functions is able to store the data in its uip_buf then i will be able to point in into my sd card.... i guess :|