We will need a feature request for this: http://feedback.coronalabs.com but can you put all those images in a .zip file, download the one zip file and then use the zip plugin to unzip them after the download completes?
Adding this sort of request streaming will take time and it’s not something easy to do.
I have faced same scenario in one of my project,
I made a zip at server & download it in the documnet directory & then unzip it.
But in your case, if the size is more for 500 images even in a zip, Sometimes while download it will break/corrupt.
The best way for this can be maintaining a buffer & download packets.
I don’t know whether Corona supports but it might a solution if we find those.
You don’t want to open 300 simultaneous connections to your web server. It would take just a couple of users to jam your server. Web browsers generally don’t open more than 8 at the same time. Even if you could, you only have fixed amount of bandwidth and downloading 300 files at once or 1 at a time, the duration will practically be the same.
It sounds like you have a pretty optimal configuration now.
We will need a feature request for this: http://feedback.coronalabs.com but can you put all those images in a .zip file, download the one zip file and then use the zip plugin to unzip them after the download completes?
Adding this sort of request streaming will take time and it’s not something easy to do.
I have faced same scenario in one of my project,
I made a zip at server & download it in the documnet directory & then unzip it.
But in your case, if the size is more for 500 images even in a zip, Sometimes while download it will break/corrupt.
The best way for this can be maintaining a buffer & download packets.
I don’t know whether Corona supports but it might a solution if we find those.
You don’t want to open 300 simultaneous connections to your web server. It would take just a couple of users to jam your server. Web browsers generally don’t open more than 8 at the same time. Even if you could, you only have fixed amount of bandwidth and downloading 300 files at once or 1 at a time, the duration will practically be the same.
It sounds like you have a pretty optimal configuration now.