Retrieving a file from my Espruino board to my computer #1039
Replies: 6 comments
-
Posted at 2019-11-30 by Robin Fri 2019.11.29 Hi @SEBI, another had this same question just two weeks ago. Some ideas 'push-ing' one line at a time:
|
Beta Was this translation helpful? Give feedback.
-
Posted at 2019-11-30 by Robin A non-Espruino way (not verified nor an attempt at coding) Use the web-based Puck.js Using:
Build a Html web page that accesses the device. Move the data to the browser object along with 'localStorage/globalStorage' then with the 'fs' object, store to the local file system. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2019-11-30 by sebi Thanks @robin for those answers. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2019-11-30 by @gfwilliams
eg. https://github.com/gfwilliams/MakeTomatoes/blob/master/index.html#L24 But you'd need to be sure that each file you were reading was small enough that it could be loaded into RAM and 'stringified', or that method wouldn't work and you'd have to do it manually. Another option is I'll be adding storage read/write functionality to the Web IDE soon so you'll be able to click 'download' through there... |
Beta Was this translation helpful? Give feedback.
-
Posted at 2019-11-30 by sebi Thank you. Can't wait to see the new Web IDE in action. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2019-11-30 by Robin Sat 2019.11.30 Using the example provided in first link in post #5 and, . . . Html5 FileSytem API
Several important launching point links there. Most of the code that is needed is in the Html5Rocks link. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2019-11-30 by sebi
I am building a data logger.
Using the storage library I am writing some data into a file onto my Espruino board (Puck.js).
How to retrieve this file to my computer?
(It is too big to do some copy/paste over the REPL.)
Thx
Beta Was this translation helpful? Give feedback.
All reactions