1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>FtpSite</title>
<link rel="stylesheet" type="text/css" href="doc.css">
</head>
<body>
<h1>FtpSite</h1>
<p>Send a SITE command to the remote server.</p>
<h2>SYNOPSIS</h2>
<pre>
#include <ftplib.h>
int FtpSite(const char *cmd, netbuf *nControl);
</pre>
<h2>PARAMETERS</h2>
<dl>
<dt><b>cmd</b></dt>
<dd>A string containing a 'SITE' subcommand.</dd>
<dt><b>nControl</b></dt>
<dd>A handle returned by <a href="FtpConnect.html">FtpConnect()</a>.</dd>
</dl>
<h2>DESCRIPTION</h2>
<p>FtpSite() sends the specified command as an argument to a 'SITE'
command.</p>
<h2>RETURN VALUE</h2>
<p>Returns 1 if successful or 0 on error.</p>
</body>
</html>
|