Skip to content

class SF::Ftp::ListingResponse
inherits SF::Ftp::Response #

Specialization of FTP response returning a filename listing

Class methods#

.new(response : Ftp::Response, data : String) #

Default constructor

  • response - Source response
  • data - Data containing the raw listing
View source

Methods#

#dup : ListingResponse #

Returns a shallow copy of this object.

This allocates a new object and copies the contents of self into it.

View source

#finalize #

View source

#listing : Array(String) #

Return the array of directory/file names

Returns: Array containing the requested listing

View source