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

# FtpSite(3)

Send a SITE command to the remote server.

## NAME

FtpSite - Send a SITE command to the remote server.

## SYNOPSIS

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

**int FtpSite(const char \****cmd***, netbuf \****nControl***);**

## PARAMETERS

- **cmd**

  A string containing a 'SITE' subcommand.

- **nControl**

  A handle returned by FtpConnect().

## DESCRIPTION

FtpSite() sends the specified command as an argument to a 'SITE' command.

## RETURN VALUE

Returns 1 if successful or 0 on error.
