Uploading files to Web server

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Uploading files to Web server

2,749 次查看
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

标签 (1)
标记 (1)
0 项奖励
回复
2 回复数

1,185 次查看
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 项奖励
回复

1,185 次查看
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 项奖励
回复