sorry, local_path will return the tempfile's path on the server;
original_filename will return... the basename of the original file
(even accomodating for IE's wonkiness)

On May 14, 9:42 pm, pharrington <[email protected]> wrote:
> params[:file_upload_field] will just be a slightly enhanced File
> object; call it's original_filename method to get the path it was
> uploaded to on the server and you can use your everyday FileUtils,
> File, and IO methods on it to do as you please.
>
> On May 14, 8:58 pm, "[email protected]" <[email protected]> wrote:
>
> > I actually have my own uploader class for Flash, which uploads
> > multiple files one after the other. The only thing I need to know is
> > how to get Rails to retrieve that file. Any simple solutions/tutorials?
--~--~---------~--~----~------------~-------~--~----~
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