FtpPwd.html 841 B

123456789101112131415161718192021222324252627282930
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
  2. <html>
  3. <head>
  4. <title>FtpPwd</title>
  5. <link rel="stylesheet" type="text/css" href="doc.css">
  6. </head>
  7. <body>
  8. <h1>FtpPwd</h1>
  9. <p>Determine current working directory on server.</p>
  10. <h2>SYNOPSIS</h2>
  11. <pre>
  12. #include &lt;ftplib.h&gt;
  13. int FtpPwd(char *path, int max, netbuf *nControl);
  14. </pre>
  15. <h2>PARAMETERS</h2>
  16. <dl>
  17. <dt><b>path</b></dt>
  18. <dd>A pointer to a buffer where the result should be returned.</dd>
  19. <dt><b>max</b></dt>
  20. <dd>Specifies the size of the user's buffer.</dd>
  21. <dt><b>nControl</b></dt>
  22. <dd>A handle returned by <a href="FtpConnect">FtpConnect()</a>.</dd>
  23. </dl>
  24. <h2>DESCRIPTION</h2>
  25. <p>FtpPwd() attempts to determine the current default directory at
  26. the server and return it to the user's buffer.</p>
  27. <h2>RETURN VALUE</h2>
  28. <p>Returns 1 if successful or 0 on error.</p>
  29. </body>
  30. </html>