# How can i write the code after send\_file command

**URL:** <https://www.ruby-forum.com/t/how-can-i-write-the-code-after-send-file-command/106510>\
**Category:** Rails\
**Created:** [June 11, 2007, 1:54pm UTC](https://www.ruby-forum.com/t/how-can-i-write-the-code-after-send-file-command/106510 "2007-06-11T13:54:48Z")\
**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, 1:54pm UTC](https://www.ruby-forum.com/t/how-can-i-write-the-code-after-send-file-command/106510/1 "2007-06-11T13:54:48Z")

</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, 2:22pm UTC](https://www.ruby-forum.com/t/how-can-i-write-the-code-after-send-file-command/106510/2 "2007-06-11T14:22:27Z")

</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.
> 
> Thanking All  
> Mitesh

you cant…
