ruby net sftp problem

Problem:

/var/lib/gems/1.8/gems/net-sftp-2.0.2/lib/net/sftp.rb:43:in `start': undefined method `shutdown!' for nil:NilClass (NoMethodError)

Solution: you are using old SFTP API, the start(…), etc method signatures have changed. Use the new methods (http://net-ssh.rubyforge.org/sftp/v2/api/index.html). I tried to pass the password as the third parameter, but it was to be the options parameter to be passed :password => “pass”.

Nevertheless the bug is still there, there is not shutdown! method.

Posted by wojtek Mon, 13 Apr 2009 19:40:00 GMT




Comments

Leave a response

Leave a comment