Khomich,
Use Net::HTTP.
- Lee
2009/7/2 Khomich Vlad <neverhood at ukr.net>
> Hi guys. i`m using mechanize to save the images ( i have problems using
> open-uri ) , with
> a=agent.get(link)
> a.save
>
> do you know how can i provide a filename to save as? Mechanize sets the
> default name
>
> _______________________________________________
> Mechanize-users mailing list
> Mechanize-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/mechanize-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://rubyforge.org/pipermail/mechanize-users/attachments/20090702/0be213ac/attachment.html>