Skip to content

class SF::Ftp::DirectoryResponse
inherits SF::Ftp::Response #

Specialization of FTP response returning a directory

Constructors#

.new(response : Ftp::Response)#

Default constructor

  • response - Source response
View source

Methods#

#directory : String#

Get the directory returned in the response

Returns: Directory name

View source

#dup : DirectoryResponse#

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