FtpLastResponse.html 931 B

12345678910111213141516171819202122232425262728293031
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
  2. <html>
  3. <head>
  4. <title>FtpLastResponse</title>
  5. <link rel="stylesheet" type="text/css" href="doc.css">
  6. </head>
  7. <body>
  8. <h1>FtpLastResponse</h1>
  9. <p>Retrieve the last response sent by the server.</p>
  10. <h2>SYNOPSIS</h2>
  11. <pre>
  12. #include &lt;ftplib.h&gt;
  13. char *FtpLastResponse(netbuf *nControl);
  14. </pre>
  15. <h2>PARAMETERS</h2>
  16. <dl>
  17. <dt><b>nControl</b></dt>
  18. <dd>A pointer to a control handle returned by
  19. <a href="FtpConnect.html">FtpConnect()</a>.</dd>
  20. </dl>
  21. <h2>DESCRIPTION</h2>
  22. <p>FtpLastResponse() returns a pointer to the last response string
  23. sent by the server. This can be parsed by the user program to
  24. determine more information about the last request or can be
  25. displayed along with an error message.</p>
  26. <h2>RETURN VALUE</h2>
  27. <p>If nControl is a valid control handle, FtpLastResponse() returns
  28. a pointer to the last server response string. Otherwise, NULL is
  29. returned.</p>
  30. </body>
  31. </html>