I have built a vaadin application where the user is able to download a file using the Lazy Download Button (https://vaadin.com/directory/component/lazy-download-button/overview). This file always ends up in the folder 'downloads'. Is it possible to route the download to another specific folder, or let the user choose the folder to download into using vaadin?
I have tried using the LazyDownloadButton addon.
private final LazyDownloadButton download = new LazyDownloadButton("Download",
() -> fileName,
() -> callBackInputStream()
);
This works in the expected way.