Download zip file

Hi all,

my problem is that I want to generate a button that when clicked by the user, the zip file is downloaded. The zip file is already generated with ZipUtil.pack().
Any help would be greatly appreciated.

Have you looked at https://vaadin.com/docs/v10/flow/advanced/tutorial-dynamic-content.html ?

Hello Artur,
I have looked at it, but I still don’t understand how to download the zip file after creating the servlet.