Depends on a lot of circumstances.
Use WiFi and simply upload the file using FTP.
LoRa will need more code and tiny files.
You can found also MicroWebSrv for WiPy, LoPy, etc : https://github.com/jczic/MicroWebSrv
@rvandam alright, thank for your help! :)
No one has replied