# Notifying a user after send\_data

**URL:** <https://www.ruby-forum.com/t/notifying-a-user-after-send-data/105319>\
**Category:** Rails\
**Created:** [May 28, 2007, 7:49pm UTC](https://www.ruby-forum.com/t/notifying-a-user-after-send-data/105319 "2007-05-28T19:49:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![HSWade\_M](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/e19adc/32.png) [@HSWade\_M](https://www.ruby-forum.com/u/HSWade_M)\
**Post date:** [May 28, 2007, 7:49pm UTC](https://www.ruby-forum.com/t/notifying-a-user-after-send-data/105319/1 "2007-05-28T19:49:54Z")

</div>

I’ve got a couple of places in my app where a user can click a link  
and download a file, which is generated by send\_data. However, with  
browsers nowadays set up to make downloads as unobtrusive as possible  
sometimes we run into situations where users aren’t aware that the  
download has happened.

Is there a good way to let users know “Hey, your download has  
finished” without having to do something like redirect them to a  
download page? Any way to have some JavaScript that will either pop  
up or reveal a div or something to say “It should be done now - check  
your desktop”?

–Wade
