Is it possible (I’m sure it is), to read a text file held remotely, if so, is it done using the likes of io.open etc and if so, what would the path be? Can I use a url?
Cheers
Gary [import]uid: 4523 topic_id: 611 reply_id: 300611[/import]
Is it possible (I’m sure it is), to read a text file held remotely, if so, is it done using the likes of io.open etc and if so, what would the path be? Can I use a url?
Cheers
Gary [import]uid: 4523 topic_id: 611 reply_id: 300611[/import]
Looks like I need an external library, and this seems to do what I want …
https://web.tecgraf.puc-rio.br/luasocket/old/luasocket-2.0-beta/home.html
Any ideas how I install this?
Cheers
Gary [import]uid: 4523 topic_id: 611 reply_id: 1183[/import]
Gary,
Luasockets is included in Corona by default, see the API documentation as well as the SimpleImageDownload sample code which shows it in action.
Regards,
Gary [import]uid: 4415 topic_id: 611 reply_id: 1218[/import]