Upload images and/or new project file to the nextion via Arduino

Hi, the code that I showed is all there is. It connects the computer to the Nextion via the Arduino board.
I suppose that you want to send a file via OTA to the ESP32 and then upload that file to the Nextion ? I have not tried such a thing yet.