Have you looked at file upload code and considered if you can hack it to
take input from a url instead of from the local file store?
Tim Case
On 3/23/06, Chris Prakoso <mahadewa@btinternet.com>
wrote:>
> Hi all,
>
> I''m just starting to learn RoR, and would like to ask a question.
> I know that we can ''upload'' file from local machine and
save it to a
> database. Now, say I have a photo which I store in other website (for
> example Flickr). This photo obviously has a URL pointing to it, e.g.
> http://www.flickr.com/username/photoname.jpg.
> How can I ''save'' this photo/file into my RoR
application''s database ?
>
> Thanks a lot for your help,
> Chris
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060323/3adc4dd4/attachment.html