FtpLogin.html 773 B

123456789101112131415161718192021222324252627282930
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
  2. <html>
  3. <head>
  4. <title>FtpLogin</title>
  5. <link rel="stylesheet" type="text/css" href="doc.css">
  6. </head>
  7. <body>
  8. <h1>FtpLogin</h1>
  9. <p>Login to remote system.</p>
  10. <h2>SYNOPSIS</h2>
  11. <pre>
  12. #include &lt;ftplib.h&gt;
  13. int FtpLogin(const char *user, const char *pass, netbuf *nControl);
  14. </pre>
  15. <h2>PARAMETERS</h2>
  16. <dl>
  17. <dt><b>user</b></dt>
  18. <dd>Specifies the username.</dd>
  19. <dt><b>pass</b></dt>
  20. <dd>Specifies the password.</dd>
  21. <dt><b>nControl</b></dt>
  22. <dd>A handle returned by <a href="FtpConnect.html">FtpConnect()</a>.</dd>
  23. </dl>
  24. <h2>DESCRIPTION</h2>
  25. <p>FtpLogin() attempts to login to the remote system with the
  26. supplied username and password.</p>
  27. <h2>RETURN VALUE</h2>
  28. <p>Returns 1 if successful or 0 on error.</p>
  29. </body>
  30. </html>