Hola!
I’m struggling with upload and download of my level files on iOS, so I’m wondering how you all do it, and if you have any surefire methods to do this. I have done my research, and “had” working code, but all of a sudden for some reasons that code is not working anymore…
I was using Graham Ranson’s ftp.lua helper code, which works really well on the simulator, and used to work on my iPad, but the exact same code now gives me a “host or service not provided, or not known” error. I’m assuming that an iOS update my downloading data from remote servers safer and also more demanding (read: app transport security stuff, most likely).
I checked out the network.upload() documentation. That’s an option, but it looks like I will need a companion PHP script running on my server to make sure the files are stored in a specific location. Does anyone have such a script, and willing to share?
Regarding the ftp.lua code - does anyone have any success running this on a current iOS device? Any insights on which types of security might be required by iOS but not by MacOS? (as the code does run on the simulator on my macbook pro, but not on my iPad). Or insights about which lines of code I could try in my build.settings to make sure my iPad allows this FTP traffic?
Any help and info is much appreciated, as this issue is halting my development at the moment (on a 7-year project!!)
Thanks,
Thomas