ftplib_last_response

Retrieve the last response sent by the server.

SYNOPSIS

#include <ftplib.h>
char *ftplib_last_response(netbuf *nbp);

PARAMETERS

nbp
A pointer to a control handle returned by ftplib_connect().

DESCRIPTION

ftplib_last_response() 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 nbp is a valid control handle, ftplib_last_response() returns a pointer to the last server response string. Otherwise, NULL is returned.

$Id: ftplib_last_response.html,v 1.1 2002/12/02 03:12:52 te Exp $