Hi,

I'm writing a script to import several data in my application. I use
ActionController::TestUploadedFile (from attachment_fu setup with an
Amazon S3 account) to upload image.

Actually, I have to give the path of the image file in my filesystem
to the method TestUploadedFile but I would like to take the file from
an Amazon S3 account.

The way I can do that is :
1) Download the file from Amazon S3
2) Save it on my filesystem
3) Add it to my app with TestUploadedFile
4) Remove the file in my filesystem

Is anybody knows a better way to do it (without using my filesystem) ?

Thanks for your help

Adrien

-- 
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