lib/net/sftp/protocol/04/base.rb
# As of v4 of the SFTP protocol, the "longname" member was removed from the
# FXP_NAME structure. This method is essentially the same as the previous
# implementation, but omits longname.
As of v4 of the SFTP protocol, the "longname" member was removed from the
FXP_NAME structure. This method is essentially the same as the previous
implementation, but omits longname.
As of v4 of the SFTP protocol the " longname " member was removed from the FXP_NAME structure . This method is essentially the same as the previous implementation but omits longname .
def parse_name_packet(packet)
      names = []
      packet.read_long.times do
        filename = packet.read_string
        attrs    = attribute_factory.from_buffer(packet)
        names   << name_factory.new(filename, attrs)
      end
      { :names => names }
    end
def parse_name_packet ( packet ) names = [ ] packet . read_long . times do filename = packet . read_string attrs = attribute_factory . from_buffer ( packet ) names << name_factory . new ( filename , attrs ) end { :names => names } end
As of v4 of the SFTP protocol, the "longname" member was removed from the
FXP_NAME structure.
As of v4 of the SFTP protocol the " longname " member was removed from the FXP_NAME structure .
packet
<not_specific>