The maze book for programmers!

Algorithms, circle mazes, hex grids, masking, weaving, braiding, 3D and 4D grids, spheres, and more!

DRM-Free Ebook

The Buckblog

assorted ramblings by Jamis Buck

Net::SFTP 1.1.1

25 February 2008 — 1-minute read

Net::SFTP is a Ruby library for transferring files using the SFTP (Secure FTP) protocol over SSH. This is a maintenance release consisting of only two changes. First, you no longer need to explicitly call the #connect method. It is called automatically as needed. Second, this release has an explicit (RubyGems) dependency on Net::SSH versions less than 1.99.0. This should pave the way for making smoother the eventual release of Net::SSH v2 (which is not backwards compatible and would otherwise break existing installations of Net::SFTP 1.x).

All users of Net::SFTP are encouraged to upgrade. Using Rubygems, installation is simple:

gem install net-sftp

Alternate source packages (bz2 and zip) may be downloaded from the Net::SSH project page:

Reader Comments

ERROR: While executing gem … (Gem::RemoteFetcher::FetchError) OpenURI::HTTPError: 404 Not Found reading <!DOCTYPE HTML PUBLIC ”-//IETF//DTD HTML 2.0//EN”>

<html><head> <title>404 Not Found</title> </head><body>

Not Found

The requested URL /gems/net-sftp-1.1.1.gem was not found on this server.


the links on the page referenced above are also missing (more 404’s).

someone miss a sym link?

For future reference—that error simply means the gem hasn’t yet propogated to the mirrors, and you should try again later. It should all be good now, for instance.

What is the time frame for Net::SSH v2?

@mark, when it’s done. :) I’ve stopped giving ETA’s, because they kept passing me by. As I stated in this post, I’m working on it (and other projects) an hour a day, so progress is being made (and logged), and it will all be ready when it is ready.

If you want to play with it as it stands (which is actually pretty close to being finished), you can check it out via subversion here: