Uploading files to Web server

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Uploading files to Web server

2,750件の閲覧回数
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,186件の閲覧回数
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,186件の閲覧回数
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 件の賞賛
返信