vaadin - How to know that Download has been completed -


i sending file download @ client browser using following code:-

    filedownloadresource fdr = new filedownloadresource(file, app);     btnget.getwindow().open(fdr); 

everything works fine when add file.delete(); after that, exception file or directory not exist. can understand before download component done file, file getting deleted. there way notification download complete , safe delete file server?


Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -