Hi,
I offer a file for download from my server. So far so good. Now does the appearing System Window ,which asks for saving the file, send a return value?
If yes, how can I catch this?
Return Value of FileSaveWindow
-
- Posts: 37
- Joined: Thu Apr 10, 2014 3:35 pm
Return Value of FileSaveWindow
as soon you do it right, it works !
Re: Return Value of FileSaveWindow
a quick search on my part revealed that this might not be possible:menschmarkus wrote:If yes, how can I catch this?
https://stackoverflow.com/questions/413 ... oad-a-file
Also keep in mind that the download process is automatic for some users (like me) and the dialog does not appear at all.
Greetings ... Peter
-
- Posts: 37
- Joined: Thu Apr 10, 2014 3:35 pm
Re: Return Value of FileSaveWindow
I solve the problem with a timer. User now has 'n' minutes to start download. After 'n' minutes the file automatically will be deleted from my server. If he presses the download button after this time there will appear an error message. Bad luck for the user, but I have to keep my server clean from waste.
thanks peter
thanks peter
as soon you do it right, it works !