@Wilberforce
Were you ever able to to upload files to your espruino with the pipe?
I am following your example, but I am not seeing the complete file save in the flash.
File index.htm size is 4752, printed POST data is "cRcv": 4752, but file in flash does not match.
I know that the problem is not in the filesystem, because using "multipart/form-data" on the form post I get the complete file... plus some added strings like this:
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@Wilberforce
Were you ever able to to upload files to your espruino with the pipe?
I am following your example, but I am not seeing the complete file save in the flash.
File index.htm size is 4752, printed POST data is "cRcv": 4752, but file in flash does not match.
I know that the problem is not in the filesystem, because using "multipart/form-data" on the form post I get the complete file... plus some added strings like this:
------WebKitFormBoundaryZ2Lus84JA68itxnM
Content-Disposition: form-data; name="file"; filename="index.html"
Content-Type: text/html
...html file contents...
------WebKitFormBoundaryZ2Lus84JA68itxnM--