Scroll to navigation

FtpSite(3) Library Functions Manual FtpSite(3)

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.
06 November 1997 FTPlib