# What Send\_file will return

**URL:** <https://www.ruby-forum.com/t/what-send-file-will-return/106503>\
**Category:** Ruby\
**Created:** [June 11, 2007, 12:19pm UTC](https://www.ruby-forum.com/t/what-send-file-will-return/106503 "2007-06-11T12:19:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mitesh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/c68b51/32.png) [@mitesh](https://www.ruby-forum.com/u/mitesh)\
**Post date:** [June 11, 2007, 12:19pm UTC](https://www.ruby-forum.com/t/what-send-file-will-return/106503/1 "2007-06-11T12:19:08Z")

</div>

Hi all,

1. How can i know whether the user has selected save,cancel,open button  
in the popup when send\_file file\_name is used.

Example:

send\_file file\_name

1. How can i write the code after the send\_file command.

Thanking All  
Mitesh

---

<div class="post-metadata">

**Author:** ![mitesh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/c68b51/32.png) [@mitesh](https://www.ruby-forum.com/u/mitesh)\
**Post date:** [June 11, 2007, 12:47pm UTC](https://www.ruby-forum.com/t/what-send-file-will-return/106503/2 "2007-06-11T12:47:34Z")

</div>

Mitesh J. wrote:

> Hi all,
> 
> 1. How can i know whether the user has selected save,cancel,open button  
> in the popup when send\_file file\_name is used.
> 
> Example:
> 
> send\_file file\_name
> 
> 1. How can i write the code after the send\_file command.

I have a sneaking suspicion that you may find posting these questions to  
the Rails forum is more enlightening.

[http://groups.google.com/group/rubyonrails-talk](http://groups.google.com/group/rubyonrails-talk)
