---
name: "FtpSysType"
section: "3"
platform: "linux"
package: "ftplib-dev"
version: "3.1-1-9"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/FtpSysType"
---

# FtpSysType(3)

Determine system type of remote server.

## NAME

FtpSysType - Determine system type of remote server.

## SYNOPSIS

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

## DESCRIPTION

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.
