If the files are meant to be permanent and are required for your app, then you should download them to the Documents directory. If they are temporary, then download them to the Temporary or Caches directory, at which point the mobile device might decide to delete these directories if it is running out of storage space. It’s really that simple… other than the fact that you would have to display a download screen until all content has been retrieved.
Regarding downloading 5000 files, you wouldn’t want to do a network.download() 5000 times, one for each file. That would be horribly inefficient. You would want to download it in bulk, such as a zip file (or even multiple zip files). Corona does not have a zip support, so you would have to have a zip utility too to decompress them. Yeah, this case is a much tougher issue, but I know other Corona developers with large apps have worked-around it. So it’s certainly possible. Just requires work. [import]uid: 32256 topic_id: 22881 reply_id: 92859[/import]