Replies: 5 comments 1 reply
-
Wow, cool! Will have a look at it. |
Beta Was this translation helpful? Give feedback.
-
I got it running using send_p(), but it's to fully functional. So yes, maybe it's way to big now. Tested the upload-function. Is around 140 kB/s. Way slower than FTP, but it's working anyway :-) |
Beta Was this translation helpful? Give feedback.
-
Cherry-picked your commit into a new feature-branch: https://github.com/biologist79/Tonuino-ESP32-I2S/tree/feature_filebrowser |
Beta Was this translation helpful? Give feedback.
-
Hi, There was as well a bug. The sleep timer is not reseted during the upload, so the tonuino can go into sleep. This is as well now fixed with this commit. Cheers |
Beta Was this translation helpful? Give feedback.
-
Well done, integrated the commit yesterday. But still had an issue when uploading large files as Tonuino went to sleep after the period configured. |
Beta Was this translation helpful? Give feedback.
-
Hi,
as my ESP Tonuino is finished, I got the request from friends, if I can build them as well one. However, they don't feel confident enough to deal with an FTP client to upload the files.
Therefore I decided to extend the current file browser with the possibility to upload files and add some basic functionalities:
I used the current solution with jstree, but had to change the way how the data of the filesystem is synchronized between the ESP and the client.
I tried to use a more dynamic approach. Instead of one big json file, containing all files and folders of the filesystem, the client is requesting the content of a folder from the ESP, when the folder is entered or something got changed in the folder (e.g. upload, deletion...).
I perfomed the commit under:
grch87@5ba8fb4
And here a picture how it looks like:
Maybe this is as well a nice feature for the master branch.
I just faced one issue. I store the html file on the sdcard which is working fine. When I use the processHtml script to integrate the html code into the source code the html page is not properly shown on the client side. Any idea? Maybe the page got too big?
Beta Was this translation helpful? Give feedback.
All reactions