[Rails] Re: Multiple File Upload

2009-10-20 Thread ct9a
bump:) Any word on this? @Rails Ror - can you please post your 2.3.2 code so that we can roughly have a gauge of what's going wrong? cheers --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" gro

[Rails] Re: Multiple File Upload

2009-09-13 Thread Rails ROR
Hi Thank you for your response. I could get along with the multiple file upload successfully with 2.3.2. I could'nt get it with 2.3.4 Thank you once again for your response. Bye!! On 9/11/09, Colin Law wrote: > > 2009/9/11 Rails ROR : >> Hi >> >> >> I am new to rails. I found Ruby On Rails to

[Rails] Re: Multiple File Upload

2009-09-11 Thread Colin Law
2009/9/11 Rails ROR : > Hi > > > I am new to rails. I found Ruby On Rails to be very interesting. I studied > all the basics. > > I have developed multiple file upload using paperclip successfully, but when > i tried the same application using 2.3.4 it is giving many errors. Did you remember to d

[Rails] Re: Multiple file upload w/Rails 2.x

2009-05-14 Thread pharrington
As to the CSRF part, you'll need to pass the authenticity_token into Flash somehow (my Flash is pretty terrible, so I wouldn't really know how to do that; i guess a start would be knowing # {form_authenticity_token} is the String containing the authtoken). Otherwise you can call skip_before_filte

[Rails] Re: Multiple file upload w/Rails 2.x

2009-05-14 Thread wejrow...@gmail.com
I can mess with it again... but if I use Flash, is there anything out of the ordinary I need to do (eg with the authentication in Rails 2.x)? I used the same Flash script that worked to send to PHP to Ruby and I couldn't get Ruby to do anything with the files (using Rails script that worked with s

[Rails] Re: Multiple file upload w/Rails 2.x

2009-05-14 Thread pharrington
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 wrote: > params[:file_upload_field] will just be a slightly enhanced File > object; call it's

[Rails] Re: Multiple file upload w/Rails 2.x

2009-05-14 Thread pharrington
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, "wejrow...@gmail.com" wrote: >

[Rails] Re: Multiple file upload w/Rails 2.x

2009-05-14 Thread wejrow...@gmail.com
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 ar

[Rails] Re: Multiple file upload w/Rails 2.x

2009-05-14 Thread Everton J. Carpes
I can't understand if you are telling that for me, but i will reply anyway... if your reply was for the Flash solution, sorry (just ignore). It does a normal post, just like any other js that is generated from rails, > so it's just a matter of reading the params on the other end. Yes, is just th

[Rails] Re: Multiple file upload w/Rails 2.x

2009-05-14 Thread Simon Macneall
It does a normal post, just like any other js that is generated from rails, so it's just a matter of reading the params on the other end. On Fri, 15 May 2009 07:43:27 +0800, wejrow...@gmail.com wrote: > > That looks like a start. But what about integrating it with Rails? > That's my problem,

[Rails] Re: Multiple file upload w/Rails 2.x

2009-05-14 Thread Everton J. Carpes
There is no Rails solution for this, cause upload is normally controlled by the server.. If you (like me) don't want or can't use Flash based solutions, you should work using modules on the server and creating client side solutions using Javascript. At this moment i'm working in something like tha

[Rails] Re: Multiple file upload w/Rails 2.x

2009-05-14 Thread wejrow...@gmail.com
That looks like a start. But what about integrating it with Rails? That's my problem, I can't get Flash to talk to rails. I don't see any documentation for it on their site. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

[Rails] Re: Multiple file upload w/Rails 2.x

2009-05-14 Thread Simon Macneall
we are using swfupload, which works pretty well. It allows you to show progress of each upload etc. We switched to this because the customer wanted a multi-select file dialog. before that, we had rolled our own js solution, which allowed the user to pick one file at a time, but upload them all

[Rails] Re: multiple file upload

2008-11-21 Thread Iros
Have you tried paperclip from thoughtbot? http://www.thoughtbot.com/projects/paperclip/ --~--~-~--~~~---~--~~ 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-tal

[Rails] Re: multiple file upload

2008-11-21 Thread nani
hi Subhadip Chakraborty, iam trying to upload multiple files using attachment_fu plugin i have followed by ur code but i did't get it... can u plz explain it more briefly... its very urgent.. thanks in advance, regards, chowdari On Oct 22, 2:53 pm, Subhadip Chakraborty <[EMAIL

[Rails] Re: multiple file upload

2008-10-22 Thread Subhadip Chakraborty
Ratnavel P S wrote: > May I know y u need 3 uploads at a time. I guess with attachment_fu u > cant upload and save multiplt files at one shot. Instead u need to > itrate and save. > > if u could explain the requirement I may suggest an alternative > solution. > > Anyway Is the requirement rel

[Rails] Re: multiple file upload

2008-10-22 Thread Andrew Chronister
Have you looked at swfupload? Choose as many files as you want from a local folder and go... -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. T

[Rails] Re: multiple file upload

2008-10-22 Thread Ratnavel P S
May I know y u need 3 uploads at a time. I guess with attachment_fu u cant upload and save multiplt files at one shot. Instead u need to itrate and save. if u could explain the requirement I may suggest an alternative solution. Anyway Is the requirement related to praps.com ?? Regards, Ratna