IIS ASP - Download multiple files with one click (or action)?

This is Interesting: Free IT Magazines  
Home > Archive > IIS ASP > May 2004 > Download multiple files with one click (or action)?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Download multiple files with one click (or action)?
Sugapablo

2004-05-25, 4:33 pm

Is there a way where an end user can download multiple files with one
click?

I have a database table that can return between 1 and 12 different
filenames (JPGs). I'd like to have a single button on the page that
will initiate the download of all of them simultaneously.

Is this possible?

--
[ Sugapablo ]
[ http://www.sugapablo.com <--music ]
[ http://www.sugapablo.net <--personal ]
[ sugapablo@12jabber.com <--jabber IM ]
Patrice

2004-05-25, 4:33 pm

You could pack them in a zip file.

Another option I can see would be to have a link (as a a href or an an
iframe) pointing to them and to call the click event on each of these files
(possibly before closing the windows)...
The user will have still to confirm 12 times he want to save the file on
disk...

Patrice

"Sugapablo" <russREMOVE@sugapablo.com> a écrit dans le message de
news:slrncb6d65.4m5.russREMOVE@dell.sugapablo.net...
> Is there a way where an end user can download multiple files with one
> click?
>
> I have a database table that can return between 1 and 12 different
> filenames (JPGs). I'd like to have a single button on the page that
> will initiate the download of all of them simultaneously.
>
> Is this possible?
>
> --
> [ Sugapablo ]
> [ http://www.sugapablo.com <--music ]
> [ http://www.sugapablo.net <--personal ]
> [ sugapablo@12jabber.com <--jabber IM ]



Sugapablo

2004-05-30, 11:53 am

In article <eAzO7FlQEHA.1312@TK2MSFTNGP12.phx.gbl>, Patrice wrote:
> You could pack them in a zip file.


Which is what I ended up doing thanks to this nifty little Java class I
found (posted here for the sake of future Googlers):

http://www.4guysfromrolla.com/webtech/030800-1.shtml

--
[ Sugapablo ]
[ http://www.sugapablo.com <--music ]
[ http://www.sugapablo.net <--personal ]
[ sugapablo@12jabber.com <--jabber IM ]
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com