ftplib_systype

Determine system type of remote server.

SYNOPSIS

#include <ftplib.h>
int ftplib_systype(char *buf, int max, netbuf *nbp);

PARAMETERS

buf
A pointer to a buffer where the result will be returned.
max
Specifies the size of the user buffer.
nbp
A handle returned by ftplib_connect().

DESCRIPTION

ftplib_systype() issues a SYST command to the remote system and attempts to parse the system type out of the response and return it to the user's buffer.

RETURN VALUE

Returns 1 if successful or 0 on error.

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