class SF::Ftp::ListingResponse
inherits SF::Ftp::Response
#
Specialization of FTP response returning a filename listing
Constructors#
.new(response : Ftp::Response, data : String)
#
Default constructor
- response - Source response
- data - Data containing the raw listing
Methods#
#dup : ListingResponse
#
Returns a shallow copy of this object.
This allocates a new object and copies the contents of
self
into it.
#listing : Array(String)
#
Return the array of directory/file names
Returns: Array containing the requested listing