Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File upload into existing filesystem (as opposed to uploading/replacing the whole filesystem partition) #99

Open
0x0fe opened this issue Nov 4, 2022 · 1 comment

Comments

@0x0fe
Copy link

0x0fe commented Nov 4, 2022

Everything is in the title, what i would like to do is to load an arbitrary file from ElegantOTA, rather than uploading the whole filesystem partition as a bin file.
My understanding is that ElegantOTA does not enforce the type of file, however the underlaying update.h seems to fail when anything else than a firmware or filesystem partition .bin file is provided (well, it will write it, but the filesystem will then be broken since it was not an image of the whole filesystem partition.

In my case lets say i have a configuration fle inside the filesystem and i want to replace it with a new file from Elegant OTA, what would be the right way to do this?

@0x0fe 0x0fe changed the title File upload into filesystem (as opposed to upding the whole filesystem partition) File upload into existing filesystem (as opposed to uploading/replacing the whole filesystem partition) Nov 4, 2022
@simonemarin
Copy link

simonemarin commented Dec 22, 2022

Hallo I am in the very same situation (although somehow reversed): got a bunch of web related files (html, css, js) and a json file which holds configuration settings, including which is most crucial the IP of the host. Would be very useful to be able to update only the web related files and not the configuration json file, in my case that file can be edited with the web interface itself so the editing is lost whenever I upload the .bin with the file system.
A files' blacklisting or whitelisting would be perfect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants