FtpSysType(3)

FtpSysType3

Determine system type of remote server.

Usage

#include <ftplib.h>

int FtpSysType(char *buf, int max, netbuf *nControl);

Parameters

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().

Overview

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.

Return value

Returns 1 if successful or 0 on error.

Releases

Unchanged in 9 releases since Debian 2.1 (Slink).

  1. 2.1–8

From ftplib-dev 3.1-1-9 in Debian 8 (Jessie). Parsed by carta from the page's man source.