Provided by: ftplib-dev_3.1-1-9build1_amd64
FtpLastResponse - Retrieve the last response sent by the server.
#include <ftplib.h> char *FtpLastResponse(netbuf *nControl);
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.