class EE::Network::Ftp::DirectoryResponse¶
Overview¶
Specialization of FTP response returning a directory. More…
#include <ftp.hpp> class DirectoryResponse: public EE::Network::Ftp::Response { public: // construction DirectoryResponse(const Response& response); // methods const std::string& getDirectory() const; };
Inherited Members¶
public: // enums enum Status; // methods bool isOk() const; Status getStatus() const; const std::string& getMessage() const;
Detailed Documentation¶
Specialization of FTP response returning a directory.
Construction¶
DirectoryResponse(const Response& response)
Default constructor.
Parameters:
response |
Source response |
Methods¶
const std::string& getDirectory() const
Get the directory returned in the response.
Returns:
Directory name