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.