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

# FtpCDUp(3)

Change to parent directory.

## NAME

FtpCDUp - Change to parent directory.

## SYNOPSIS

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

**int FtpCDUp(netbuf \****nControl***);**

## PARAMETERS

- **nControl**

  A handle returned by FtpConnect().

## DESCRIPTION

FtpCDUp() sends a CDUP command to the remote server.

## RETURN VALUE

Returns 1 if successful or 0 on error.
