I have a process that I want to emulate:

- login (and remember cookies set)
- access pages that require being logged in

With Curl, it's pretty easy:

curl -c cookies -d "username=joe&password=12345" secret.com/login
curl -b cookies secret.com/dostuff

I searched for Curl Ruby libraries and found:

http://www.d1.dion.ne.jp/~matuyuki/ruby.html (0.0.2 alpha)
http://rox-ruby.sourceforge.net/cms.php/curl (pre-alpha - May 2003)

Any other options, or libraries? Is open-uri capable of something 
similar?

Thanks,
Joe

-- 
Posted via http://www.ruby-forum.com/.