I just read that WWW::Mechanize has an interface for fileuploads, see
EXAMPLES.txt in the API doc:
http://mechanize.rubyforge.org/mechanize/
Martin
On Monday 12 May 2008 15:06:43 Mikel Lindsaar wrote:
> Heya all,
>
> I am using Net::HTTP to do post actions to a server, but I have to
> include a file in the post action.
>
> I found this:
>
> http://www.realityforge.org/articles...-via-post-with
>-net-http
>
> Is that really the only way to add a file to a POST action using Net::HTTP?
>
> What I want is the equiv of adding a file in a file select box in a
> form using post.
>
>
> Mikel