To save me re-inventing the wheel, does anyone have a code snippet that I can use to connect to a socket server and read a file line by line and save it locally ??
I am trying to create a self update app ?!
Or would it be better for the server to serve a file line by line as requested by the client, but this would be slower as the client would need to make a call to request each line ??
What's the best way of doing this ??
Self Update via Socket
Re: Self Update via Socket
@spotlightkid has ported ftplib and made an ftp client, which works on esp8266: http://forum.micropython.org/viewtopic. ... ent#p17504
That may work for you too.
That may work for you too.