char *FtpLastResponse(netbuf *nControl);
- A pointer to a control handle returned by FtpConnect().
FtpLastResponse() returns a pointer to the last response string sent by the server. This can be parsed by the user program to determine more information about the last request or can be displayed along with an error message.
If nControl is a valid control handle, FtpLastResponse() returns a pointer to the last server response string. Otherwise, NULL is returned.