From: Ezra Zygmuntowicz Date: 2007-02-23T12:43:43+09:00 Subject: Re: expect and ruby On Feb 22, 2007, at 7:33 PM, Robert La Ferla wrote: > I need to communicate with a sftp server from a Ruby script. > What's the best way to do this? I am looking for something like > "expect" I found a way to spawn and expect using the "pty" > standard lib but I didn't see a "send" I found a rexpect on > RubyForge but that looks like it hasn't been maintained in months. > What should I be looking at? You should check out net/ssh and net/sftp: http://raa.ruby-lang.org/project/net-sftp/ http://raa.ruby-lang.org/project/net-ssh/ Cheers- -- Ezra Zygmuntowicz -- Lead Rails Evangelist -- ez@engineyard.com -- Engine Yard, Serious Rails Hosting -- (866) 518-YARD (9273)