[ANN] Net::SFTP 0.9.0

J

Jamis Buck

This is my last release announcement of the day, I promise.

Net::SFTP is a pure Ruby implementation of an SFTP client. It depends
on Net::SSH >= 0.6.0. This release is (tentatively) the first in
a series of beta releases intended to hurry Net::SFTP to a shiny 1.0
release.

project page: http://rubyforge.org/projects/net-ssh
API docs: http://net-ssh.rubyforge.org/sftp/api

A user manual is in the works, and will probably be Hieraki-based. (I
just need to bite the bullet and set up Hieraki.)

This release introduces the following new features and bug fixes:

* Synchronous operations now work with Ruby 1.8.1.

* Added open_handle for opening a handle within an explicit
(block-delimited) transaction.

sftp.open_handle( "/foo/bar/baz", "w" ) do |handle|
sftp.write( handle, "some data" )
sftp.write( handle, "some more data" )
end

* Added get_file and put_file convenience methods for reading
directly from and writing directly to a file.

sftp.get_file "/the/remote/file", "/the/local/path"
sftp.put_file "/the/local/path", "/the/remote/file"

* Moved to a subversion repository at
http://www.jamisbuck.org/svn/net-sftp

I apologize for the lack of documentation. SFTP will be as thoroughly
documented as Net::SSH before it's 1.0 release, I promise.

- Jamis
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,743
Messages
2,569,478
Members
44,898
Latest member
BlairH7607

Latest Threads

Top