Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Download File

Kristijan Nusheski
7 years ago Sep 18, 2015 11:42am

I have form to upload file on win server. So next I want to download that file.
How can I donwload that file?

Johannes Häyry
7 years ago Sep 18, 2015 12:12pm
Johannes Häyry
7 years ago Sep 18, 2015 5:59pm
Kristijan Nusheski
7 years ago Sep 22, 2015 8:46am

Johannes Häyry: Use a StreamResource and FileDownloader. Wiki article written for 7.0.0 https://vaadin.com/wiki/-/wiki/Main/Letting+the+user+download+a+file
About resources in book of Vaadin https://vaadin.com/book/-/page/application.resources.html#application.resources.stream

FileDownloader cannot be resolved to a type...
What should I do..?

Johannes Häyry
7 years ago Sep 22, 2015 8:52am
Kristijan Nusheski
7 years ago Sep 22, 2015 9:04am
Andris Lapinsh
7 years ago Sep 22, 2015 10:01am
Kristijan Nusheski
7 years ago Sep 22, 2015 11:16am
Jon Inazio Sánchez Martínez
7 years ago Sep 22, 2015 11:21am
Andris Lapinsh
7 years ago Sep 22, 2015 12:38pm
Kristijan Nusheski
7 years ago Sep 22, 2015 12:41pm