I have Vaadin 7 code to give the user an option to download a file:
Button btnDownloadResults = new Button(\"Download Results\", FontAwesome.CLOUD_DOWNLO
After more research I believe the answer is that there is no simple way to get this information from the FileDownloader.
The difficulty appears to be a consequence of the way the FileDownloader is designed. From the FileDownloader docs: "Download should be started directly when the user clicks e.g. a Button without going through a server-side click listener to avoid triggering security warnings in some browsers."
Because there is no round-trip back to the web server, there is no place to respond when the download fails, starts, or succeeds.
Some vague (and possibly bad) ideas for a workaround:
But the short answer seems to be there is no built-in way in Vaadin to do it.