Determine system type of remote server.
#include <ftplib.h>
int FtpSysType(char *buf, int max, netbuf *nControl);
buf
A pointer to a buffer where the result will be returned.
max
Specifies the size of the user buffer.
nControl
A handle returned by FtpConnect().
FtpSysType() 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.
Returns 1 if successful or 0 on error.