Inheritance diagram for CP_FTPResponse:
Public Types | |
enum | { kCP_FTP__DataConOpen = 125, kCP_FTP__AboutToOpen = 150, kCP_FTP__CommandOK = 200, kCP_FTP__CmdNotImp = 202, kCP_FTP__NameSystem = 215, kCP_FTP__ServiceReady = 220, kCP_FTP__ServiceClosing = 221, kCP_FTP__ClosingDataCon = 226, kCP_FTP__EnteringPsv = 227, kCP_FTP__UserLoggedIn = 230, kCP_FTP__FileActionOK = 250, kCP_FTP__PathCreated = 257, kCP_FTP__UserNameOK = 331, kCP_FTP__ReqOKPending = 350, kCP_FTP__ConnectionClosed = 426, kCP_FTP__SyntaxErr = 500, kCP_FTP__PermissionDenied = 553 } |
Public Member Functions | |
Constructor / Destructor | |
CP_FTPResponse (CP_Socket *inSocket) | |
Constructor. | |
CP_FTPResponse (const CP_FTPResponse &inResponse) | |
virtual | ~CP_FTPResponse () throw () |
Destructor. | |
Resonse | |
virtual bool | GetServerResponse () |
Protected Attributes | |
CP_String | fServerResponseString |
CP_String | fServerBodyString |
SInt32 | fServerResponseCode |
CP_Socket * | fSocketConnection |
|
|
Constructor.
|
|
Copy constructor.
|
|
Destructor.
|
|
Returns the response from the FTP server.
Reimplemented from CP_InternetResponse. |
|
Return the text of the response.
|
|
Return the text of the response.
|
|
Return the resonse code
|
|
Sets the text of the response. This text comes from the server.
|
|
Sets the response code. This text comes from the server.
|
|
Resets the fields of this response to initial or empty values.
|
|
Receive the next line from our server. We keep receiving until the end of line is reached.
|
|
|
|
CP_String containing the response from the server. |
|
CP_String containing the body of the response from the server |
|
Any numeric response code from the server. |