title: How to download file from server in Vaadin7?
body: <p>I have FileResource</p>
  
  <pre><code>FileResource curResource = new FileResource(new File(basepath +
                                  "/WEB-INF/docs/"+path+".pdf"));
  </code></pre>
  
  <p>and i want save this file from browser on the computer by click the button. How can i do this in Vaadin 7? Thanks</p>
  
  <p>I try something like this:</p>
  
  <pre><code>ExternalResource resource = new ExternalResource(basepath +
                                  "/WEB-INF/icons/"+"block_16.png");
  Page.getCurrent().open(resource.getURL(),"Download",true);
  </code></pre>
  
  <p>but i have empty about:blank page and nothing happens...</p>