Instead of trying to figure out the method to package up spiffs updates, create an fs_ver file which the client reads and sends up to server. The server would then send a json file down with update instructions. These would include simple commands, file sizes, etc. that would be run locally to pull down updates to a temporary location, check sizes, and then move into place in order to update local files.
Instead of trying to figure out the method to package up spiffs updates, create an fs_ver file which the client reads and sends up to server. The server would then send a json file down with update instructions. These would include simple commands, file sizes, etc. that would be run locally to pull down updates to a temporary location, check sizes, and then move into place in order to update local files.