FtpNlst.html 965 B

123456789101112131415161718192021222324252627282930313233
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN">
  2. <html>
  3. <head>
  4. <title>FtpNlst</title>
  5. <link rel="stylesheet" type="text/css" href="doc.css">
  6. </head>
  7. <body>
  8. <h1>FtpNlst</h1>
  9. <p>Retrieves a terse directory listing.</p>
  10. <h2>SYNOPSIS</h2>
  11. <pre>
  12. #include &lt;ftplib.h&gt;
  13. int FtpNlst(const char *output, const char *path, netbuf *nControl);
  14. </pre>
  15. <h2>PARAMETERS</h2>
  16. <dl>
  17. <dt><b>output</b></dt>
  18. <dd>Specifies the name of a file to receive the directory listing. If
  19. specified as NULL the directory listing will be written to
  20. stdout.</dd>
  21. <dt><b>path</b></dt>
  22. <dd>Specifies an argument to 'ls' on the remote system.</dd>
  23. <dt><b>nControl</b></dt>
  24. <dd>A handle returned by <a href="FtpConnect.html">FtpConnect()</a>.</dd>
  25. </dl>
  26. <h2>DESCRIPTION</h2>
  27. <p>Performs a short form directory listing of the specified path on
  28. the remote system. The results are written to the specified
  29. file.</p>
  30. <h2>RETURN VALUE</h2>
  31. <p>Returns 1 if successful or 0 on error.</p>
  32. </body>
  33. </html>