Require from documents directory?

Is there a way to Require() a file from documents or temp directory? basically i want to download a file from a server and require it at runtime. Premise would be i have a framework app for a customer (a publisher possibly) then when we have a new app or game for them we can download it to the device and run it.

I believe you would use:

-- If myFile.lua existed in your app's Documents directory
local myFile = require( "Documents.myFile" )
views:1475 update:2011/11/25 8:45:21
corona forums © 2003-2011