Downloading a module using url

network.download( url, "GET", function(e) if (e.isError == false) then print("Download Successful") local m = require ("MyModule.lua") end end, "MyModule.lua", system.TemporaryDirectory )

Obviously, this doesn’t work because I’m unable to correctly navigate to the directory where the file was downloaded. and this doesn’t work:

equire ("system.TemporaryDirectory.MyModule.lua")

What should I do here?

There is a lot more to it than just downloading the file.  However you no longer have to figure this out on your own.

https://forums.coronalabs.com/topic/70602-patcher-by-roaming-gamer-released/

There is a lot more to it than just downloading the file.  However you no longer have to figure this out on your own.

https://forums.coronalabs.com/topic/70602-patcher-by-roaming-gamer-released/