BMP library - file upload
Hi. I’m just checking out my new ED1. ( @ Citilab : Thank you very much. ) Right now, I’m discovering the BMP library. In the library description, José Garcia Yeste is describing, how to upload files 100% inside MicroBlocks. Sadly, I didn’t find any further information on using MicroBlock’s web server and a multipart POST request.
A little help on this issue would be great. I guess, that there are a few pitfalls for the unexperienced user. If there’s no time for further documentation, I’ll have to figure it out on my own. That would be OK, too.
Comments (4)
-
-
reporter Thanks for the help. The way that you proposed is quite instructive. I’m looking at a nice picture on my ED1’s screen right now. Another feature that impresses myself and (hopefully) my students.
-
reporter - changed status to resolved
Solved
-
Maybe the microBlocks team implement a better way to do that in the future
On our short term ToDo list
- Log in to comment
Hi,
Here you have a program to save a binary to the filesystem.
https://cloud.citilab.eu/s/aTkebJstzJKcMrd
To send the binary use curl, something like this:
curl --request POST --data-binary "@photo1.bmp" 192.168.0.167. Use the IP of the ED1 board.
I hope this can be useful.
Maybe the microBlocks team implement a better way to do that in the future