int FtpSysType(char *buf, int max, netbuf *nControl);
- A pointer to a buffer where the result will be returned.
- Specifies the size of the user buffer.
- 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.