The implementation of the operations defined by version 2 of the SFTP protocol. This simply adds support for the RENAME operation, otherwise extending the version 1 implementation, unaltered.

Methods
Public Instance methods
rename( id, name, new_name, flags=nil )

This operation is special since a later version of the protocol adds support for flags. In this version, the flags parameter is ignored, but it exists for compatibility with later versions.

    # File lib/net/sftp/protocol/02/impl.rb, line 33
33:     def rename( id, name, new_name, flags=nil )
34:       rename_raw id, name, new_name
35:     end