Module: Net::SFTP::Protocol

Module | Net::SFTP::Protocol
In: | lib/net/sftp/protocol/01/attributes.rb lib/net/sftp/protocol/01/base.rb lib/net/sftp/protocol/01/name.rb lib/net/sftp/protocol/02/base.rb lib/net/sftp/protocol/03/base.rb lib/net/sftp/protocol/04/attributes.rb lib/net/sftp/protocol/04/base.rb lib/net/sftp/protocol/04/name.rb lib/net/sftp/protocol/05/base.rb lib/net/sftp/protocol/06/attributes.rb lib/net/sftp/protocol/06/base.rb lib/net/sftp/protocol/base.rb lib/net/sftp/protocol.rb

The Protocol module contains the definitions for all supported SFTP protocol versions.

### Methods

load

### Classes and Modules

Module Net::SFTP::Protocol::V01
Module Net::SFTP::Protocol::V02
Module Net::SFTP::Protocol::V03
Module Net::SFTP::Protocol::V04
Module Net::SFTP::Protocol::V05
Module Net::SFTP::Protocol::V06
Class Net::SFTP::Protocol::Base

### Public Class methods

load(session, version)

Instantiates and returns a new protocol driver instance for the given protocol version. `session` must be a valid SFTP session object, and `version` must be an integer. If an unsupported version is given, an exception will be raised.

[Validate]