how to know download is complete

Files and folders downloader add-on with resume support.
Post Reply
patron
Posts: 1
Joined: Thu Oct 14, 2010 7:15 pm

how to know download is complete

Post by patron »

hello,

Is there a way to know (and then to fire a javascript) when a dowload is finished ?
the objective is to close the window when the download is complete.

thank you for response.

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: how to know download is complete

Post by support »

Try to install JSAPI to get notify with JavaScript callbacks:
http://www.jfileupload.com/products/tools/index.html

truongvu
Posts: 39
Joined: Wed Oct 26, 2011 11:58 am

Re: how to know download is complete

Post by truongvu »

support wrote:Try to install JSAPI to get notify with JavaScript callbacks:
http://www.jfileupload.com/products/tools/index.html
When download is complete which javascript function in JSAPI work
When download is be cancelled which javascript function in JSAPI work

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: how to know download is complete

Post by support »

Fully completed (all files): JSTransferDone
File completed (single file): JSTransferCompleted
Transfer cancelled: JSTransferCancelled

Post Reply