I assume there''s a mime library in Ruby, but my knowledge of Ruby
libraries
is a little slim. Since there''s no replies yet, I''d say look
for a mime
library and handle encoding your attachments that way. Perhaps someone else
can point you toward a complete http client library that will do this for
you.
On 6/17/06, Abdullah Jibaly <amjibaly@gmail.com>
wrote:>
> Hi everyone,
>
> I''m trying to post from a controller to another application, with
one of
> the post parameters being a multipart file attachment. What do you
recommend
> for this process? From what I could gather from doing searches I need to
use
> something like Net::HTTP or open-uri, but I cannot find how to add
> attachments to these. Any suggestions?
>
> Thanks,
> Abdullah
>
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
>
>
--
Charles Oliver Nutter @ headius.blogspot.com
JRuby Developer @ jruby.sourceforge.net
Application Architect @ www.ventera.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060618/e99dc7c3/attachment-0001.html