Sudhi
Perhaps you can use hidden file_field and populate it with javascript from
the text_field?

James.

2009/3/18 Sudhi Kulkarni <[email protected]>

>
> Hi,
>
> I wanted to have a textbox which would have the file name specified and
> on submit in the controller I wanted to save this file on the server
> file system. Any pointers would helpful.
>
> Please note I do not want to use file_field since that does not match my
> requirement...
>
> My requirement is something like
>
> <input>
> upload c:\1.txt
> upload c:\2.txt
> </input>
>
> Button Submit
>
> On submit upload the 2 files to server
>
> Thanks,
> Sudhindra
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to