Skip to content

httpUpdateSPIFFS - how to get and save SPIFFS #2625

@odilonafonso

Description

@odilonafonso

Basic Infos

Hardware

Hardware: ESP-12 NodeMCU / Wemos D1
Core Version: 2.3.0-rc2

Description

httpUpdate is working well; now I want to update the SPIFFS too.
I have read the httpUpdateSPIFFS from the samples and look simple. But I do not know how to load and save the "spiffs.bin" file.

In the IDE we have:
Tools -> "ESP8266 Sketch Data Upload" - to load data from a file to the SPIFFS
and
Sketch -> Export Compiled Binary- to save the sketch bin file for upload to my web server

I do not know if there is a tool to copy the contents of my spiffs ESP or I'll have to do it myself.
It is also unclear if copying only the data recorded on spiffs or if I provide a "spiffs.bin" with the total size of the available area for spiffs on my ESP.

Someone please know how to do this?
@krzychb, you being an expert in OTA, you know how to do this?
Thanks in advance !!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions