File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Alert after completion of download. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Alert after completion of download." Watch "Alert after completion of download." New topic
Author

Alert after completion of download.

V. Aggarwal
Greenhorn

Joined: Jun 07, 2006
Posts: 4
Please help me out in this problem.

I have a jsp which is having a link to static zip file on the server for download. If user clicks to that link download window(default one) will pop up and ask the user to save the file.
I need a javascript method which should give alert message after the file has been downloaded successfuly. (If somehow file has not been downloaded properly then no alert should come.)


V. Aggarwal<br />SCJP, SCWCD
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
JavaScript has no control over the download. It does not know if it was downloaded or not so you are out of luck.

Eric
 
 
subject: Alert after completion of download.
 
Similar Threads
Close Popup Window after download completes
display image onkeypress()
Counting Number of downloads of Static file
Big binary file interactive downloading
SCDJWS 5 Study Notes