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

# FtpQuit(3)

Close connection to server.

## NAME

FtpQuit - Close connection to server.

## SYNOPSIS

**#include \<ftplib.h\>**\

**void FtpQuit(netbuf \****nControl***);**

## PARAMETERS

- **nControl**

  A handle returned by FtpConnect().

## DESCRIPTION

FtpQuit() closes the connection to the remote server and frees any resources associated with the connection.

## RETURN VALUE

None.
