*sigh*) The causeĪctually there are two show stoppers at work here (see section “GET, POST, REST” below for the second pitfall, connected to POST requests). (I guess not many users would know how to handle a ZIP file that is downloaded with the name “index.php” or similar. I faced a whole bunch of problems like the browser not reacting at all, the browsers reporting that “The content being downloaded is not supported by the phone”, the download taking place but the content of the file being empty or some HTML garbage, or the browser downloading the file but ignoring my file name and trying to save the file under the name of the script that generated it. After everything worked fine with IE, FF and Chrome, I checked with Android 2.1 and the download failed.
Multiple files could be selected and were compressed on the fly into a single ZIP file before being transfered to the client. I lately had to create a complex download repository for a customer.