Thanks Gordon. Decoding the post boundarys is quite difficult so I decided to do it the easy way - put the file content as the body and just stream that up.
So this lets the browser do all the hard work instead... It allows you to select a file and upload it using the PUT method... insteading pasting the file contents. It should allow binary files too.
Next steps are to clean up the look, and allow folder creation and folder selection.....
© Espruino, powered by microcosm.
Report a problem