Uploading files to Web server

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Uploading files to Web server

2,738 Views
Phil_D
Contributor I

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

Labels (1)
Tags (1)
0 Kudos
Reply
2 Replies

1,174 Views
Phil_D
Contributor I
After some poking and prodding, I have found a partial answer to my question: RTCS does not support CGI multipart/form-data encoding. So, the question becomes: Has Freescale implemented this already or is this something that is planned to be part of RTCS in a future release of MQX?
0 Kudos
Reply

1,174 Views
eugeneryabtsev
Contributor III

I wonder why this is marked as resolved and where is this multipart/form-data decoder in httpsrv. If it's there, at least it seems rather well hidden.

0 Kudos
Reply