zkoss download multiple Files

asked 2012-02-06 09:08:50 +0800

cccqqq gravatar image cccqqq


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.

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2012-02-06 12:03:39 +0800

mjablonski gravatar image mjablonski
1284 3 5

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

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2012-02-06 09:08:50 +0800

Seen: 201 times

Last updated: Feb 06 '12

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More