Correct file permission for upload

Hey

I'm currently trying to upload a map from a http:// file to my temp directory to load it in the game.

Currently this is the code I'm using:

1
2
3
4
5
local function networkListener( event )
        storyboard.gotoScene( getNextLevel )
end
        
network.download( "http:/ ... /world1lvldoc.tmx", "GET", networkListener, "world1lvldoc.tmx", system.TemporaryDirectory )
views:688 update:2011/12/31 9:35:10
corona forums © 2003-2011