How to preload file to "new Upload"

How I said I have templates that I can apply to my form, sometimes this templates contains files that I have all information about them in one object, so if I instance new item Upload, can I put the references (url) to this new Object without user interaction?
Only applying the template?

Thanks for advice!


According to browser rules, you cannot set or programmaticaly fill an upload input.
So Vaadin object will probably not be able to do so.
But you are talking about a url, so if the referenced file is somewhere in the network and that you can reference it with a url, you should use another objet than ui.Upload