Ubuntu Manpages

FtpSite

Send a SITE command to the remote server.

#include <ftplib.h>

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

A string containing a 'SITE' subcommand.
A handle returned by FtpConnect().

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

Returns 1 if successful or 0 on error.