class SF::Ftp::DirectoryResponse
- SF::Ftp::DirectoryResponse
- SF::Ftp::Response
- Reference
- Object
Overview
Specialization of FTP response returning a directory
Defined in:
network/obj.crConstructors
-
.new(response : Ftp::Response)
Default constructor
Instance Method Summary
-
#directory : String
Get the directory returned in the response
-
#dup : DirectoryResponse
Returns a shallow copy of this object.
- #finalize
Instance methods inherited from class SF::Ftp::Response
dup : Response
dup,
finalize
finalize,
message : String
message,
ok? : Bool
ok?,
status : Ftp::Response::Status
status
Constructor methods inherited from class SF::Ftp::Response
new(code : Ftp::Response::Status = InvalidResponse, message : String = "")
new
Constructor Detail
Instance Method Detail
def dup : DirectoryResponse
#
Description copied from class Reference
Returns a shallow copy of this object.
This allocates a new object and copies the contents of
self
into it.