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

# FtpDelete(3)

Removes a file from the remote system.

## NAME

FtpDelete - Removes a file from the remote system.

## SYNOPSIS

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

**int FtpDelete(const char \****fnm***, netbuf \****nControl***);**

## PARAMETERS

- **fnm**

  The name of the file which is to be removed.

- **nControl**

  A handle returned by FtpConnect().

## DESCRIPTION

Requests that the server remove the specified file from the remote file system.

## RETURN VALUE

Returns 1 if successful or 0 on error.
