AnsweredAssumed Answered

Uploading files to Web server

Question asked by Phil Dunmire on Jun 22, 2009
Latest reply on Dec 22, 2014 by Eugene Ryabtsev

Hi folks,

 

I am trying to upload a file to my device (currently the 52259 eval board) using the existing http server code with MQX 3.1 and the web_hvac demo as an example. The html side was simple--no problems there. Things are not so simple on the server side, however, because there is no documentation for the http server. I am able to get the filename easily enough for the file I am uploading. How might I get a file handle to the file object and retrieve the contents of the uploaded file (preferably line by line instead of all at once)?

 

Thanks,

 

Phil

Outcomes