FtpLastResponse3
Retrieve the last response sent by the server.
Usage
char *FtpLastResponse(netbuf
*nControl);
Parameters
nControl-
A pointer to a control handle returned by FtpConnect().
Overview
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.
Return value
If nControl is a valid control handle, FtpLastResponse() returns a pointer to the last server response string. Otherwise, NULL is returned.