I want to download multiple files on a http request. I am aware that i can zip all the files and then download the zip as a single file.
Are there any other options (like AJAX or applets) that could achieve this?
How does sun download manager download files?
By definition, you can download one thing at a time. The choices are zipping it up (which you've considered) or downloading them one at a time. AJAX or Applets could provide different graphical options for downloading one at a time, but does not change the underlying architecture.
My requirement says: I have to download 10 files in response to an HTTP Request.
For each file the browser has to display save dialog box(10 times). This all should happen in a single HTTP Request. My requirements doesn't want to zip the files. Is there any way to achieve this?
Can i say this requirement is not feasible to my Business Analysts.
Thanks in Advance,
Originally posted by Srikanth Reddy:
Is there any way to achieve this?
Can i say this requirement is not feasible to my Business Analysts.[?][/QB]
The analyst should have had a technical consultant in the room before he decided this.
Originally posted by Norm Radder:
Has your BA seen this done?
If the response can contain multi-part data, then you could put content-type, content-length and content-disposition response fields along with the data in the response. My HTML text discusses it under "Server-Push"
Could you please point me to some sample code.
[ July 03, 2008: Message edited by: Norm Radder ]
byte endBndry = (boundaryTxt + "--").getBytes();
byte endBndry = (boundary + "--").getBytes();
It's work better, because you were confounding byte and string.
Good Work really nice piece of code