How to update esp32 with local webserver and ethernet cable as physical layer

Hi forum…

I would like to know if you have some example about how to update the fw of the esp32 creating a webserver but as last layer by using an ethernet connection…
I have found many examples of OTA but every time with wifi

Instead I would like to use this lib as last layer…

Any ideas about how to do it ?

Thanks