ZK - Open Source Ajax Java FrameworkZK - Open Source Ajax Java Framework

zkoss download multiple Files

cccqqq
6 Feb 2012 09:08:50 GMT
6 Feb 2012 09:08:50 GMT

Hi!

I try to download the multiple files by Filedownload method. That means, the Filedownload is called mutl times in serial. But, only last file is downloaded. Any guys know, how can i handle in this case.

Thanks, Qiang.

mjablonskiTop Contributor
6 Feb 2012 12:03:39 GMT
6 Feb 2012 12:03:39 GMT

This is a limitation of the HTTP request/response cycle. You can only push a single file to the client per request. Best option: Zip your files on the server and let the user download the ZIP file. Like GoogleMail does when offering several attachements for download.

Cheers, Maik