showWebPopup and DocumentsDirectory permission

Hi,

I made this simple example, and when I run it on Android embeded browser say that file not exist.

I check filesystem on mobile and file exist, anybody know because this happend?

thanks.

My code.

– Load the relevant LuaSocket modules
local http = require(“socket.http”)
local ltn12 = require(“ltn12”)
function webListener( event )
return true
end

– Create local file for saving data
local path = system.pathForFile( “index.html”, system.DocumentsDirectory )
myFile = io.open( path, “w+b” )

– Request remote file and save data to local file
http.request{
url = “http://www.immobo.com/test.html”,
sink = ltn12.sink.file(myFile),
}

local options = { hasBackground=true, baseUrl=system.DocumentsDirectory,urlRequest=webListener }
native.showWebPopup("/index.html",options) [import]uid: 44539 topic_id: 8389 reply_id: 308389[/import]