I'm not sure of what you're asking, but if this 'generator' is an
application residing on the server running your web application, you
can call it using the ruby command system('executable_name').

regards,
rey9999

On 10 Feb, 01:01, bbtosurf <bbtos...@gmail.com> wrote:
> Hi
>
> I currently have a generator which creates a directory of files. I
> want clients on my app to be able to execute that generator and save
> those files in their personal folder on the server. The thing is that
> I have always executed this generator via terminal and it always
> creates the series of files on the current path on the terminal where
> I executed the command. How can a user execute this generator on the
> browser and the files be created in his personal folder.
>
> thanx
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to