Method: Net::SFTP::Protocol::V01::Base#readdir

Defined in:
lib/net/sftp/protocol/01/base.rb

#readdir(handle) ⇒ Object

Sends a FXP_READDIR packet to the server, to request a batch of directory name entries in the directory identified by handle (which must have been obtained via a FXP_OPENDIR request).



155
156
157
# File 'lib/net/sftp/protocol/01/base.rb', line 155

def readdir(handle)
  send_request(FXP_READDIR, :string, handle)
end