12345678910111213141516171819202122232425262728 |
- <!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>
|