FtpSite.html 714 B

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