So the user is typing in filenames directly? If that's the case, what you're asking is impossible - and for very good reasons. Javascript can't access client-side files; it can't even serialize file input tags (thus the issues with AJAX submission of file fields).
--Matt Jones On Mar 18, 6:59 am, Sudhi Kulkarni <[email protected]> wrote: > 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 viahttp://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 -~----------~----~----~----~------~----~------~--~---

